1° Create virtual ambient
Windows use this tutorial: Tutorial
Ubuntu use this tutorial: Tutorial
2° Run the project
- Activate the virtual environment, this information on how to activate the virtual environment can be accessed through this tutorial: Tutorial
- Install all dependencies using the command: pip install -r requirements.txt
- Use: python manage.py migrate. To appling all migrates
- Start the project using the command: python manage.py runserver
3° Run the short linux tutorial project
- Create a virtual enviroment: python -m venv ./venv
- Activate virtual enviroment: source venv/bin/activate
- Install all dependencies using the command: pip install -r requirements.txt
- Use: python manage.py migrate. To appling all migrates
- If you can create a superuser using: python manage.py createsuperuser
- Start the project using the command: python manage.py runserver
4° Run the short linux tutorial project using python3
- Create a virtual enviroment: python3 -m venv ./venv
- Activate virtual enviroment: source venv/bin/activate
- Install all dependencies using the command: pip install -r requirements.txt
- Use: python3 manage.py migrate. To appling all migrates
- If you can create a superuser using: python3 manage.py createsuperuser
- Start the project using the command: python3 manage.py runserver
5° Swagger docs Url: http://127.0.0.1:8000/swagger/
1° Run the short linux tutorial project (tests)
- Create a virtual enviroment: python -m venv ./venv
- Activate virtual enviroment: source venv/bin/activate
- Install all dependencies using the command: pip install -r requirements.txt
- Use: python manage.py migrate. To appling all migrates
- Start tests using: python3 manage.py test social_media