1
0
mirror of https://github.com/fspc/bikebinder.git synced 2025-02-28 11:13:22 -05:00

An exciting new era for Bike Collectives

This commit is contained in:
Jonathan Rosenbaum 2014-12-11 17:16:32 +00:00
commit 39c72be2a7
2 changed files with 24 additions and 0 deletions

20
Dockerfile Normal file
View File

@ -0,0 +1,20 @@
##############
# BikeBinder #
##############
# Password is password for staff@freeridepgh.org & volunteer@freeridepgh.org
FROM bikebike/bikebike
MAINTAINER Jonathan Rosenbaum <gnuser@gmail.com>
RUN git clone https://github.com/FreeRidePGH/BikeBinder.git
RUN gem install bundler
RUN apt-get update && apt-get -y install g++ libfcgi-dev libsqlite3-dev
RUN bundle install --gemfile=/BikeBinder/Gemfile
RUN cd /BikeBinder; bundle exec rake setup; bundle exec rake populate
# setup to use sqlite3
COPY bikebinder.conf /etc/supervisor/conf.d/
#COPY /BikeBinder/config/application/mailer_config.rb /BikeBinder/config/database.yml
CMD ["supervisord", "-c", "/etc/supervisor/supervisord.conf"]

4
bikebinder.conf Normal file
View File

@ -0,0 +1,4 @@
[program:bikebinder]
directory=/BikeBinder
command=rails server
autorestart=false