Fill credentials in .env file as
VECTORS_APP_DATABASE_USERNAME = <your_postgres_username>
VECTORS_APP_DATABASE_PASSWORD = <your_postgres_password>
Install dependencies:
bundle install
npm installConfig database migrations:
rails db:create
rails db:migrate
rails db:seedRun the project with:
foreman start -f Procfile.devBefore running tests do:
rails db:test:prepare Run tests:
rails test test/models
rails test test/controllers
rails test test/servicesOur site is deployed on render.com