dutkulang / dj-LEAD

rewriting LEAD website with Django python web framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dj-LEAD

This repo is to Convert the official LEAD (Local Expert Action Directory) from running using jekyll to Django framework (Python3)


How to setup

Python 3.8 upwards and pip3 must be installed on your system

  1. clone the repo from dj-LEAD on GitHub

  2. change into the directory created from either terminal or git bash

cd dj-LEAD
  1. install virtual environment and activate

    • A virtual environment will help isolate your working environment dependencies.
    pip3 install virtualenv; virtualenv myenv ; source myenv/bin/activate
  2. Install the project's requirements

 pip install -r requirements.txt
  1. Make and run migrations, then create super user
python3 manage.py makemigrations ; python3 manage.py migrate ;
  1. Create a superuser. Remember the username and password that you give to the superuser, that information will be used to login to the admin page
python3 manage.py createsuperuser
  1. run server
python3 manage.py runserver 
  1. visit http://localhost:8000 to check out the demo. By default it will be empty.

  2. Visit admin page and start adding profiles

http://localhost:8000/admin

About

rewriting LEAD website with Django python web framework

License:MIT License


Languages

Language:HTML 38.9%Language:Python 36.4%Language:CSS 24.4%Language:JavaScript 0.4%