Folder structure options and naming conventions for the current project
.
├── .envs # Environment veriables
├── compose # Docker files and bash commands
├── requirements # Third party libraries
├── config # Project configuration files
├── src # Project applicateions directory ('lib' or 'apps')
├── local.yml # docker-compose (running in local)
├── production.yml # docker-compose (to deploy in production)
└── README.md
└── ...
- Prerequisites
- Setup
- Development
- Production
- Documentation
This project has the following prerequisites
- python 3.9.8
- docker 19.03.12
- docker-compose 1.25.0
-
Type the command below to setup the project locally:
-
docker-compose -f local.yml up --build
- Install virtual environment:
git clone https://github.com/orginazation/name_api.git
cd root folder
python -m venv --prompt="v" .env
- If pre commit has not been installed please install by running following command:
pip install pre-commit
pre-commmit install
- Type the command below to deploy the project locally:
docker-compose -f local.yml up -d
- You should be good to go now
- http://localhost:8000