Learn to jumpstart a production-ready blog using the Cookiecutter-Django framework and how to deploy it to Heroku
Additional description about the project and its features.
- Python,
- Cookiecutter-Django,
- Bootstrap 4.5, Bootstwatch Darkly
This is an example of how you may give instructions on setting up your project locally. Modify this file to match your project, remove sections that don't apply. For example: delete the testing section if the currect project doesn't require testing.
To get a local copy up and running follow these simple example steps.
Python 3.8 virtual environment PostgreSQL. Redis, if using Celery Cookiecutter Heroku AWS/GCP for static assets Git
Install cookiecutter
$ python -m pip install "cookiecutter>=1.7.2"
Install cookiecutter-django
$ cookiecutter https://github.com/pydanny/cookiecutter-django
Create a virtual environment
$ virtualenv <name_of_environment>
Activate/Run PostgreSQL
$ cookiecutter https://github.com/pydanny/cookiecutter-django
- run the cookiecutter-django command
$ source <name_of_environment>/bin/activate
- create a virtual environment
$ python -m pip install -r requirements/local.txt
- install local dev dependencies
$ createdb <what you have entered as the project_slug at setup stage> -U postgres --password <password>
- create a postgreSQL db
$ export DATABASE_URL=postgres://postgres:<password>@127.0.0.1:5432/<DB name given to createdb>
- export database_url
For unit tests, run:
$ python manage.py test
Complete deployment instructions are at: https://cookiecutter-django.readthedocs.io/en/latest/deployment-on-heroku.html
👤 Vicente G. Reyes
- Github: @reyesvicente
- Twitter: @highcenburg
- Facebook: highcenbugtv
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Cookiecutter
- Cookiecutter-django
- Learnetto
- Bootswatch
This project is MIT licensed.