Skip to content

i-api/MathForABetterWorld

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Database Team!

Live Deployments:

Getting Started:

git clone https://github.com/ChrisWilhelm/MathForABetterWorld
cd MathForABetterWorld

echo "DATABASE_URL='postgresql://prisma:prisma@127.0.0.1:5432/math-for-better-world-local'">>./server/.env

Development and Testing:

cd server
yarn install
# start docker daemon
yarn run dev
# test all the routes to make sure they work!!
yarn prisma studio

Create a .env file in the server folder and add the following content to it:

DATABASE_URL="postgresql://prisma:prisma@127.0.0.1:5432/math-for-better-world-local"
JWT_SECRET="MathForABetterWorld!"

Frontend Deployment

cd client
python -m pip install -r requirements.txt
streamlit run Home.py

Best practices, for making a feature branch:

git checkout -b name_feature_description
git push -u origin name_feature_description

If on EC2

./node_modules/.bin/forever index.js

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 52.3%
  • Python 47.7%