mirror of
				https://github.com/fspc/bikeshed.git
				synced 2025-11-03 15:45:35 -05:00 
			
		
		
		
	Create README.md
This commit is contained in:
		
							parent
							
								
									5ee50bc8f8
								
							
						
					
					
						commit
						c2e4ed5a88
					
				
							
								
								
									
										36
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								README.md
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,36 @@
 | 
				
			|||||||
 | 
					#BikeShed
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					**BikeBike Docker Container Image for BikeShed**
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Bikeshed is [Velocipede's](http://velocipedebikeproject.org/) User, Sales, and Bike Inventory [Web App](https://github.com/spacemunkay/BikeShed).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					##Pull the repository
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					docker pull bikebike/bikeshed
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					##Run the docker container
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Publish the container's port to the host:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					>format: ip:hostPort:containerPort | ip::containerPort | hostPort:containerPort
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					docker run -d -p 3000:3000 --name="bikeshed" bikebike/bikeshed
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					##Password
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Login for test users is on the top website page.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					##How to test/develop inside the running container process 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					This method uses [nsenter](http://jpetazzo.github.io/2014/06/23/docker-ssh-considered-evil/).  Check out [jpetazzo/nsenter](https://github.com/jpetazzo/nsenter) on GitHub. 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					sudo PID=$(docker inspect --format {{.State.Pid}} <container_name_or_ID>)
 | 
				
			||||||
 | 
					sudo nsenter --target $PID --mount --uts --ipc --net --pid
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user