mirror of
				https://github.com/fspc/bikebinder.git
				synced 2025-11-03 16:25:35 -05:00 
			
		
		
		
	Added some TODOs
This commit is contained in:
		
							parent
							
								
									e865814f82
								
							
						
					
					
						commit
						10cbbc6e03
					
				@ -9,7 +9,11 @@ MAINTAINER Jonathan Rosenbaum <gnuser@gmail.com>
 | 
				
			|||||||
RUN git clone https://github.com/FreeRidePGH/BikeBinder.git 
 | 
					RUN git clone https://github.com/FreeRidePGH/BikeBinder.git 
 | 
				
			||||||
RUN gem install bundler
 | 
					RUN gem install bundler
 | 
				
			||||||
RUN apt-get update && apt-get -y install g++ libfcgi-dev libsqlite3-dev ruby-sqlite3 
 | 
					RUN apt-get update && apt-get -y install g++ libfcgi-dev libsqlite3-dev ruby-sqlite3 
 | 
				
			||||||
 | 
					# TODO: ruby-sqlite3 is the sqlite3 gem, however, the paths must be wrong 
 | 
				
			||||||
RUN bundle install --gemfile=/BikeBinder/Gemfile
 | 
					RUN bundle install --gemfile=/BikeBinder/Gemfile
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# TODO: bundle exec rake secret / there is config.secret_key = ENV["DEVISE_SECRET_KEY"] .. need to find a way to pass output to rake, rather than using a set secret
 | 
				
			||||||
 | 
					# However, this needs to be done during the docker run:  export DEVISE_SECRET_KEY=`bundle exec rake secret`
 | 
				
			||||||
COPY devise.rb /BikeBinder/config/initializers/
 | 
					COPY devise.rb /BikeBinder/config/initializers/
 | 
				
			||||||
RUN cd /BikeBinder; bundle exec rake setup; bundle exec rake populate
 | 
					RUN cd /BikeBinder; bundle exec rake setup; bundle exec rake populate
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user