Skip to content

pettis1996/Code-Terra-Blog

Repository files navigation

Personal Blog Project - In Development


author: @pettis1996
Project made using Python Django for practice.
Check requirements.txt file for all installed modules.


Python HTML5 CSS3

Bootstrap Django Jinja MySQL


Setup and Deploy on AWS EC2

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

Test Account Credentials

Username

    test

Password

    testpassword

About

Official Blog For Code Terra

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published