Skip to content

thegeekfactory/naxos

 
 

Repository files navigation

Naxos

Purpose

Bulletin board project created to replace a CoolForum solution. (Including DB migration script.) Comes with a light community blog.

Made in Python 3. Backend mostly based on Django, PostgreSQL and memcached. Frontend in BootStrap + JQuery. Node.js + Socket.io for some realtime capabilities. Deploys with Docker & Ansible.

Getting started

Prerequisite

Install Docker

Starting a development environment

The development environment uses docker-compose, more information on the CLI usage here.

$ docker-compose up -d          # Start environment
$ docker-compose logs -f        # Read all components logs
$ docker-compose logs -f forum  # Read forum component logs
$ docker-compose exec forum sh  # Execute an interactive shell on the forum container

The development server is accessible at: http://localhost:8080.

Stopping a development environment

$ docker-compose down              # Stop environment (add -v to delete the volumes)
$ docker volume ls                 # List volumes
$ docker volume rm naxos_forum-db  # Delete the db

Fixtures

Initial data (fixtures) is provided and installed automatically by docker-entrypoint.sh.

Out of the box, you will be able to log in using those credentials:

  • Username: "admin"
  • Password: "crimson"

Note

Admin website is accessible from http://localhost:8080.

Deployment

$ ansible-playbook -i hosts-prod --vault-password-file=~/.vault_pass site.yml -e "version=<version>"

About

Django-based bulletin board

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 47.4%
  • HTML 46.1%
  • JavaScript 3.2%
  • Nginx 1.9%
  • CSS 1.1%
  • Shell 0.3%