author: @pettis1996
Project made using Python Django for practice.
Check requirements.txt file for all installed modules.
Step 1: Update the system.
sudo apt-get update
Step 2: Clone the repository on the server.
git clone https://github.com/pettis1996/coding_blog.git
Step 3: Download Django using pip.
sudo apt install python3-pip -y
pip install django
Step 4: Make migrations.
python3 manage.py makemigrations
Step 5: Migrate changes.
python3 manage.py migrate
Step 6: Install required modules from requirements.txt.
pip install -r requirements.txt
Now the app is ready to run. To run it use the following command:
python3 manage.py runserver 0.0.0.0:8000
OR for Local Hosting
python3 manage.py runserver
use 0.0.0.0:8000 for hosting on AWS EC2
Username
test
Password
testpassword