Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.51 KB

README.md

File metadata and controls

35 lines (25 loc) · 1.51 KB

Built with Cookiecutter

Sumit

Setup

Github & Heroku

  1. Generate an auth token for Heroku and add it to the repo secrets as HEROKU_API_KEY so Github Actions can reach Heroku. heroku authorizations:create -d "Github Actions" -s write-protected
  2. Generate an auth token for Github and add it as an environment variable as GITHUB_TOKEN so Heroku can trigger Github Actions

Docker

If this is your first time...

  1. Install Docker
  2. Run pipenv lock to generate a Pipfile.lock
  3. Run cd client && npm install so you have node_modules available outside of Docker
  4. Back in the root directory, run make build
  5. View other available scripts/commands with make commands

Now you will only ever need one command: make run or docker compose up

Backend

If not using Docker... See the backend README

Frontend

If not using Docker... See the frontend README

Testing

  1. pipenv install --dev

  2. pipenv run pytest server/sumit

  3. npm run cypress