Skip to content

clean-city-watch/admin-portal-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

admin-portal-backend

Clone the repository to your local machine:

git clone https://github.com/clean-city-watch/admin-portal.git

To run the FASTAPI Application use the following command:

uvicorn main:app --reload

Endpoints

Once the application is running, you can access its endpoints by visiting the Swagger documentation at http://localhost:8000/docs or the ReDoc documentation at http://localhost:8000/redoc.

running on server

SSH into the server, copy or clone the repo there.
Ensure the .env file is present in folder on server.

Install python libs needed:

pip install -r requirements.txt

Make launch shell script executable:

chmod +x ./server_launch.sh

Start the program

nohup ./serverserver_launch.sh &
  • "&" : means it will run in background
  • "nohup" : means program will continue running even after you have logged off from your ssh session

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published