This repo is to Convert the official LEAD (Local Expert Action Directory) from running using jekyll to Django framework (Python3)
Python 3.8 upwards and pip3 must be installed on your system
-
clone the repo from dj-LEAD on GitHub
-
change into the directory created from either terminal or git bash
cd dj-LEAD
-
install virtual environment and activate
- A virtual environment will help isolate your working environment dependencies.
pip3 install virtualenv; virtualenv myenv ; source myenv/bin/activate
-
Install the project's requirements
pip install -r requirements.txt
- Make and run migrations, then create super user
python3 manage.py makemigrations ; python3 manage.py migrate ;
- 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
- run server
python3 manage.py runserver
-
visit http://localhost:8000 to check out the demo. By default it will be empty.
-
Visit admin page and start adding profiles