Go to backend dir cd backend
.
. script/bootstrap
create the virtual environment and installs the necessary dependencies.
Run the script . script/run
to start the app.
Server address: http://localhost:8000.
Go to http://localhost:8000/docs for API docs.
Go to frontend dir cd frontend
.
Run yarn install
.
Run yarn start
.
Go to http://localhost:3000 in your web browser.
Use REACT_APP_API_URL="http://fridget.co:81" yarn start
to run local frontend and use server backend.
Note Authentication does not work with this setup
ssh into the deployment server and cd in the Fridget
directory, pull the new release branch.
run docker compose build && docker compose up -d
to redeploy server
Access can be given to trusted individuals to a test database containing some sample recipes.
Run: . script/dbupgrade "upgrade message"
to autogenerate a revision file. Afterward run the migrations with alembic upgrade head
.
Download DBeaver, contact for database access.