Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time




A virtual hallway for online classrooms


Install docker and docker-compose

Next, in the settings file, update the S3_BUCKET setting to the name where you want to save the videos. You need to enable cross orgin requests on this bucket. This can be done by adding a policy to the bucket through the console. The policy will look like:

<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="">

Then at the command line,

> docker-compose up

This will launch three containers: the app, the db, and the server. The volume is bound to the app container so any changes to the files are available immediately to be rendered. Django debug toolbar and React Hot Module Replacement are both proxied through the server. The db uses the dev db name, username and password in the secrets.env file.

Then just open your browser to localhost.


The app is designed to be deployed on AWS Elastic Beanstalk. A few things to note:

First, the deploy assumes a secrets.env file, which is parsed by into environment variables on EC2 to give the app access to the various services it needs. There is a dummy file included to show expected keys, but you'll need to fill in the values. Additionally, you need to fill in your AWS id number in .ebextensions/iam.config.

Second, since the app needs to use the webcam, it must be deployed with an ssl cert and accessed using https. Checkout .ebextensions/ssl_rewrite.config to see how the the rewrite settings are deployed. The cert itself is hosted on the load balancer.

Finally, the deploy script builds the production docker container, pushes it to dockerhub, and then the Elastic Beanstalk deploy pulls it from dockerhub. So you'll need to update the deploy script to tag the image with the appropriate repo and update the push location. You'll also need to put your dockerhub credentials into a s3 bucket so Elastic Beanstalk can pull the image if it is in a private repo. For more information, see here.

You can’t perform that action at this time.