Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 848 Bytes

README.md

File metadata and controls

52 lines (33 loc) · 848 Bytes

thirdave-prayer

App

Backend Requirements

  • Docker
  • Docker Compose

Frontend Requirements

  • Node.js (with npm)

Backend local development

  • Start the stack with Docker Compose:
docker-compose up -d

Migrations

docker-compose exec backend bash
  • After changing a model, inside the container, create a revision, e.g.:
alembic revision --autogenerate -m "Add column last_name to User model"
  • Commit to the git repository the files generated in the alembic directory.

  • Run the migration in the database:

alembic upgrade head

Frontend development

  • Enter the frontend directory, install the NPM packages and start the live server using the npm scripts:
cd frontend
npm install
npm run serve