- Fork or Clone the project to your machine
- Navigate to the projects directory
- in your terminal run
pip3 isntall -r requirements.txt
- Set up aws account for AWS S3
- Set the environment variables:
cp .env.example .env
- open .env and modify the environment variables Environment Variables The environment variables can be found and modified in the .env file.
SECRET_KEY=your_secret_key_123 DATABASE_URL=postgresql:///your_app_name aws_access_key_id=your_aws_access_key1234 aws_secret_access_key=your_aws_secret_key
- in your terminal run
flask run -p 5001
├── ShareBnB-Backend │ ├── api_helpers.py │ ├── app.py │ ├── models.py │ ├── readme.md │ ├── requirements.txt │ └── seed.py