Thanks to visit codestin.com
Credit goes to github.com

Skip to content

dutkulang/dj-LEAD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published