mitmedialab / unhangout

Home Page:https://unhangout.media.mit.edu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

https://unhangout.media.mit.edu

License:GNU General Public License v3.0


Languages

Language:Python 47.1%Language:JavaScript 30.3%Language:HTML 10.5%Language:SCSS 10.1%Language:Jinja 1.1%Language:Dockerfile 0.4%Language:Makefile 0.3%Language:Shell 0.1%