MY_IP=172.18.0.172
for win10
python -m venv c:\my_path\venv
.\venv\Scripts\activate
pip install -r requirements.txt
(I didn't test it)
make sure your windows allowes running powershells scripts if you getting this error:
cannot be loaded because running scripts is disabled on this system
then run this cmd in powershell as administrator
Set-ExecutionPolicy RemoteSigned
for ubuntu cd to base project and run:
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
-
cd to root base in this case managementAPP/
-
then run
python3 manage.py runserver 9000
PS. I used 9000 with another intern since the default one was in use
for this project I used sqlite to avoid configuration and all that pain. I included the database with the project
localhost:9000/swagger/
localhost:9000/api/