Skip to content

Portfolio Website, made on top of Django ORM, deployed using Docker.

License

Notifications You must be signed in to change notification settings

elmeriniemela/thecodebase

Repository files navigation

The Codebase

Funtionality:

  • Integration with github to make a portfolio website based on projects.
  • JavaScript games.

Install & Run:

Setup database:

  • # apt install postgresql
  • $ createdb thecodebase
  • $ docker-compose exec thecodebase python manage.py migrate
  • $ docker-compose exec thecodebase python manage.py createsuperuser

Service:

  • # cp docs/thecodebase.service-example /etc/systemd/system/thecodebase.service
  • # systemctl enable thecodebase.service --now

Python PDB:

  • Enable stdin_open: true and tty: true on docker-compose.yml
  • Add breakpoint import pdb; pdb.set_trace()
  • Attach to container docker attach thecodebase-thecodebase_1
  • Detach with Ctrl + P, Ctrl + Q

Notes:

  • All docker-compose commands should be ran on the root directory of this repo.
  • For DEBUG=0 you need nginx, see example-nginx.conf
  • To access the container run docker-compose exec thecodebase bash

alt text

About

Portfolio Website, made on top of Django ORM, deployed using Docker.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages