Merge pull request #92 from zach-chai/update_readme

update readme and env
This commit is contained in:
Zachary Chai 2017-01-24 10:41:04 -05:00 committed by GitHub
commit f5a1ce5a6c
3 changed files with 5 additions and 8 deletions

View File

@ -4,15 +4,13 @@ FROM ruby:2.3.1
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs
ENV RAILS_ENV=production \ ENV RAILS_ENV=production \
APP_HOME=/usr/src/app \ APP_HOME=/usr/src/app
BIGBLUEBUTTON_ENDPOINT=http://test-install.blindsidenetworks.com/bigbluebutton/ \
BIGBLUEBUTTON_SECRET=8cd8ef52e8e101574e400365b55e11a6
RUN mkdir $APP_HOME RUN mkdir $APP_HOME
WORKDIR $APP_HOME WORKDIR $APP_HOME
# Add the greenlight app # Add the greenlight app
ADD . $APP_HOME ADD . $APP_HOME
# Install app dependencies # Install app dependencies
@ -20,4 +18,3 @@ RUN bundle install --without development test doc --deployment --clean
RUN bundle exec rake assets:precompile --trace RUN bundle exec rake assets:precompile --trace
CMD ["scripts/default_start.sh"] CMD ["scripts/default_start.sh"]

View File

@ -5,7 +5,7 @@ Greenlight is a simple front-end application for [BigBlueButton](http://bigblueb
## Usage ## Usage
Install [docker](https://docs.docker.com/engine/getstarted/step_one/) Install [docker](https://docs.docker.com/engine/getstarted/step_one/)
Create an environment variables file, here is a [template with instructions](https://raw.githubusercontent.com/zach-chai/greenlight/new_prod/env) Create an environment variables file, here is a [template with instructions](https://raw.githubusercontent.com/bigbluebutton/greenlight/master/env)
Start the server in docker Start the server in docker
docker run -d -p 3000:80 -v ${pwd}/db/production --env-file env bigbluebutton/greenlight docker run -d -p 3000:80 -v ${pwd}/db/production --env-file env bigbluebutton/greenlight

View File

@ -4,8 +4,8 @@
RAILS_ENV=development RAILS_ENV=development
# BigBlueButton # BigBlueButton
BIGBLUEBUTTON_ENDPOINT=http://test-install.blindsidenetworks.com/bigbluebutton/ BIGBLUEBUTTON_ENDPOINT=
BIGBLUEBUTTON_SECRET=8cd8ef52e8e101574e400365b55e11a6 BIGBLUEBUTTON_SECRET=
# If "true", GreenLight will register a webhook callback for each meeting # If "true", GreenLight will register a webhook callback for each meeting
# created. This callback is called for all events that happen in the meeting, # created. This callback is called for all events that happen in the meeting,