This is an open-source project for creators using Django. Pull requests welcome.
- From your intended location, run:
git clone [repository]
- cd to the project folder
Note: if Anaconda is running, like (base), run: conda deactivate
- Run:
python3 -m venv env
- If you do not have virtualenv set up, run
pip install virtualenv
- If you do not have virtualenv set up, run
- To activate, run:
source env/bin/activate
- (To deactivate, run: deactivate)
- Ensure your virtual environment is running Python 3.x,
- verify by running:
python --version
- verify by running:
- Run:
pip install -r requirements.txt
- Install Postgres:
brew install postgres
and Postgres.app (https://postgresapp.com/) - Create an issue on this project to request access to configuration files (settings.py) and assign to @acary
- Ensure Postgres 11 is running on port 5432
- Run:
python manage.py makemigrations
and for each module:
python manage.py makemigrations blog
python manage.py makemigrations feed
python manage.py makemigrations playlists
python manage.py makemigrations products
python manage.py makemigrations projects
python manage.py makemigrations social
- Run:
python manage.py migrate
to apply migrations
- Run:
python manage.py runserver
- Install individual packages with
pip
as needed (pip, django, psycopg2, django-widget-tweaks)