https://github.com/kenmwaura1/django-portfolio
Simple portfolio website to showcase projects and an additional blog
https://github.com/kenmwaura1/django-portfolio
Last synced: 6 months ago
JSON representation
Simple portfolio website to showcase projects and an additional blog
- Host: GitHub
- URL: https://github.com/kenmwaura1/django-portfolio
- Owner: KenMwaura1
- License: mit
- Created: 2020-07-16T11:51:23.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-09-13T13:02:41.000Z (about 3 years ago)
- Last Synced: 2025-02-07T16:42:59.951Z (8 months ago)
- Language: Python
- Size: 9.8 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Django Portfolio App
This a portfolio project using Django, MySql database and Bootstrap for styling
It is still under active development.
## Setup
1.Clone the project or download as zip2.change into folder `cd django-portfolio`
3.Create a virtual environment `python -m venv env`
4.Activate the virtual environment `source activate`
5.create a .env file using the example provided and add a secret key entry. `cp .env.example .env `
example `SECRET_KEY=supersecretkey`OR
manually edit the settings.py file and add the secret key(don't commit this to a public repo)
6.Add your mysql credentials under Databases in `.env` file
Alternatively use a sqlite databases by changing the database driver in `settings.py`7.Run the database migrations `python manage.py makemigrations`
`python manage.py migrate `8.Run the project `python manage.py runserver`
9.To enable the password reset function enter your mailgun[mailgun.com] credentials in the `.env` file
10.Open a browser and go to localhost:8000/projects