CircuitVerse/CircuitVerse

View on GitHub
.gitpod.yml

Summary

Maintainability
Test Coverage
image:
  file: .gitpod.Dockerfile

ports:
  - name: Web App
    port: 3000
    onOpen: open-preview
  - port: 3001-9000
    onOpen: ignore
tasks:
  - init: >
      cp ./.gitpod.vscode.settings .vscode/settings.json &&
      rvm autolibs disable &&
      rvm install 3.2.0 &&
      nvm install 16 &&
      gem install bundler &&
      cp config/database.example.yml config/database.yml &&
      createuser -s postgres &&
      (redis-server &) &&
      bundle install --without production --path vendor/bundle &&
      yarn &&
      bundle exec rails db:create &&
      bundle exec rails db:schema:load &&
      bundle exec rails db:migrate &&
      bundle exec rails db:seed &&
      openssl genpkey -algorithm RSA -out config/private.pem &&
      openssl rsa -pubout -in config/private.pem -out config/public.pem
    command: >
      sleep 5 &&
      redis-server --daemonize yes &&
      bundle install --without production --path vendor/bundle &&
      yarn &&
      bundle exec rails db:create &&
      bundle exec rails db:schema:load &&
      bundle exec rails db:migrate &&
      bundle exec rails db:seed &&
      bin/dev
github:
    prebuilds:
        pullRequestsFromForks: true

vscode:
  extensions:
    - dbaeumer.vscode-eslint
    - rebornix.ruby
    - castwide.solargraph
    - wingrunr21.vscode-ruby