Django Portfolio
A CMS for my portfolio built on Django.
Usage
1. Download
cd /path/to/workspace
git clone https://github.com/willshowell/portfolio.git
cd portfolio
2. Install
mkvirtualenv portfolio --python=python3
pip install -r requirements.txt
2. Download
cd /path/to/workspace
git clone https://github.com/willshowell/portfolio.git
cd portfolio
3. Settings
Make a local settings file:
vim portfolio/local_settings.py
Be sure to include SECRET_KEY and DATABASES as well as DEBUG = True if using for development.
See Django Settings for more information.
4. Database Setup
Run the migrations to initialize the database:
./manage.py migrate
Create an admin by running:
./manage.py createsuperuser
5. Run
./manage.py runserver
6. Fill out
- Edit the
admin.site.site_headerinportfolio/urls.pyto your name. - Go to
localhost:8000/admin(or whatever address:port) and log in using your superuser credentials. - Add new About, Experience, and Project items.
Notes
As this project is still a work in progress, there are a few things that will need to be updated
to match your personal use, as they aren't a part of the CMS.
- The header and footer are hardcoded with my name
- The 500 error page has a hardcoded social link
- The about page has my social links hardcoded
- The static images are all specifically relevant to me and should
be replaced. Ideally file upload and/or image CDNs would be used.
On this page
Languages
Python59.5%HTML28.3%JavaScript7.9%CSS4.3%
Contributors
Created August 30, 2016
Updated January 8, 2018