Skip to content

JanPoonthong/miniblog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Miniblog

Requirements

Linux & MacOS

Prerequisites:

Instructions:

  1. Download pip:

    $ sudo apt install python3-pip # only for linux
    
  2. Download Django:

    $ pip3 install Django==3.2.7
    
  3. Run:

    $ cd miniblog
    $ ./manage.py migrate --run-syncdb
    $ ./manage.py runserver
    
    or
    
    $ cd miniblog
    $ python3 manage.py migrate --run-syncdb
    $ python3 manage.py runserver
    

After doing python3 manage.py runserver, check http://127.0.0.1:8000/ or http://localhost:8000/

Windows

Prerequisites:

Instructions:

  1. Download Django:

    $ pip3 install Django==3.2.7
    
  2. Run:

    $ cd miniblog
    $ python manage.py migrate --run-syncdb
    $ python manage.py runserver
    
    or
    
    $ cd miniblog
    $ python3 manage.py migrate --run-syncdb
    $ python3 manage.py runserver
    

After doing python3 manage.py runserver, check http://127.0.0.1:8000/ or http://localhost:8000/