Portfolio website built with Wagtail CMS
This is a Python Django-based personal portfolio website.
The website uses Wagtail CMS. Wagtail is a Django Content Management System.
All content: personal information, portfolio projects, social media links, Google Analytics tracking code, etc. can be adjusted in Wagtail admin.
The fronted theme is an inspiration from Start Bootstrap Freelancer theme .
This repo can be used as a starting point for developing a production-ready Django personal website with deployment to Heroku. I am releasing the full source code for the site so that others may benefit from it.
To view the website demo, please visit vladislavalerievich.herokuapp.com.
NOTE: The web application may take a few seconds to start up.
Setup local environment for the development process.
Go to ./portfolio
directory and activate virtual environment.
pip install -r requirements.txt
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
Go to http://127.0.0.1:8000/admin/
in your browser to the Wagtail CMS admin to populate it with your data and to
configure homepage.
Heroku uses Dockerfile
to build and run the application.
To deploy your application on Heroku, you need to do several things:
heroku login
.heroku create <your app name>
to create the Heroku application.heroku stack:set container
so Heroku knows this is a containerized application.heroku addons:create heroku-postgresql:hobby-dev
, creating the Postgres add-on for Heroku.https://<app name>.herokuapp.com)
of your application into environment variableHOST_NAME
in
Heroku config settings.EMAIL_HOST_USER
and EMAIL_HOST_PASSWORD
in Heroku config vars settings.heroku addons:add cloudinary
and proceed with finishing account setup. Then provide data from dashboard into
environment variables CLOUDINARY_CLOUD_NAME
, CLOUDINARY_API_KEY
and CLOUDINARY_API_SECRET
in Heroku config
settings.git push heroku master
.heroku run python manage.py createsuperuser
.<your app name>.herokuapp.com
to see the published web application.