Python 3.6 Virtualenv Django 3.0.4
- Setup project, a virtual environment, and install requirements
git clone https://github.com/antonsison/Blog-Clone.git
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt
- Create
core/local.py
then after that
#EMAIL BACKEND
EMAIL_HOST_USER = ""
EMAIL_HOST_PASSWORD = ""
DEFAULT_FROM_EMAIL = ""
#Base URL
PROTOCOL = "http://"
DOMAIN_NAME = "127.0.0.1:8000"
WEBAPP_RESET_PASSWORD_PATH = "reset-password"
- Migrate the files with
$ python manage.py migrate
- Collect Static Files
$ python manage.py collectstatic
- To build SCSS Files go to
assets/
$ sass --watch scss/style.scss css/style.css