/unhangout

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Local development setup using docker-compose

The tl;dr version

Install docker and docker-compose. Then run

docker-compose build unhangout
docker-compose run --rm frontend

Setup the database and run Django migrations:

docker-compose up -d postgres
docker-compose exec postgres psql -U postgres -c "create user unhangout WITH PASSWORD 'password';"
docker-compose exec postgres psql -U postgres -c "create database unhangout with owner unhangout";
docker-compose exec postgres psql -U postgres -c "create database test_unhangout with owner unhangout";
docker-compose exec postgres psql -U postgres -c "create database etherpad with owner postgres";
docker-compose run --rm unhangout /opt/app-venv/bin/python3 manage.py migrate

Start up the server

docker-compose up unhangout

Go to http://localhost:8000/ to access the application. You can access the maildev server at http://localhost:1080 to look at email activity.

Create a Django admin user:

docker-compose run --rm unhangout /opt/app-venv/bin/python3 manage.py createsuperuser

You'll be prompted for credentials and afterwards you should be able to access the Django admin interface at http://localhost:8000/admin

Production deploy

See ansible/README.md