Skip to content

ramaguruprakash/silentteacher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English Teacher

Pre requisites

  • Python
  • Node js

Python

brew install python

Node js

brew install node

Postgres

brew install postgresql@14

brew services start  postgresql

Install psql to connect to local postgres

https://www.timescale.com/blog/how-to-install-psql-on-mac-ubuntu-debian-windows/

Local development

Create a file .env and copy the following into it.

ENV=development
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_USER=<local username>
POSTGRES_PASSWORD=<local password>
POSTGRES_DB=<local db>

Run server locally

./develop/install_deps.sh

./develop/run_local_server.sh

to run db migrations.

# create a revision
alembic revision --autogenerate -m "commit message"
alembic upgrade head

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •