Simplified version of an AirBnB-like application, named HBnB Evolution
- To install the Python Virtual Environment venv use:
python -m venv .venv - To activate the Python venv use:
source .venv/bin/activateon Mac OSsource .\venv\Scripts\activateon Windows - To desactivate the Python venv use:
deactivate
The requirements.txt file serve to list and keep all the libraries used on the venv
- To enumerate and save the installed packages/libraries use:
pip freeze > requirements.txt - To install the packages/libraries use:
pip install -r requirements.txt
- Run the following command to init the devlopment project:
python run.py
[[/part2/README|Part 2 (BL & API)]] [[/part3/README|Part 3 (Auth & DB)]]