HectorPulido / generic-porfolio

This is a simple portfolio/content manager made with django.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generic portfolio

Setup Django

  1. Configure your heroku project, save the name, you will need the Heroku Postgresql addon

  2. Build the docker development and run it to make sure everything is ok

docker build -t web:latest .
docker run -d --name <herokuname> -e "PORT=8765" -e "DEBUG=0" -p 8007:8765 web:latest
  1. You can deactivate like this
docker stop <herokuname>
docker rm <herokuname>
  1. You can upload your project with this commands
docker run -d --name <herokuname> -e "PORT=8765" -e "DEBUG=0" -p 8007:8765 web:latest
heroku container:login
heroku container:push web -a <herokuname>
heroku container:release web -a <herokuname>
  1. Create your user with
heroku run python manage.py createsuperuser -a <herokuname>
  1. Enter to your proyect from this url
http://<herokuname>.herokuapp.com/admin

About

This is a simple portfolio/content manager made with django.

License:MIT License


Languages

Language:Python 75.6%Language:HTML 21.7%Language:Dockerfile 2.5%Language:Shell 0.2%