mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-04 04:57:51 +00:00 
			
		
		
		
	Use centralized bash file to copy configurations. (#169)
* Use centralized bash file to copy configurations. * Typo. * EOF.
This commit is contained in:
		@@ -32,13 +32,8 @@ brew install imagemagick
 | 
				
			|||||||
# install ruby dependencies
 | 
					# install ruby dependencies
 | 
				
			||||||
bundle
 | 
					bundle
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# copy config & update the values in database and application ymls accordingly
 | 
					# Copy configurations
 | 
				
			||||||
# ref docs for detailed instructions
 | 
					./configure
 | 
				
			||||||
cp shared/config/database.yml config/database.yml
 | 
					 | 
				
			||||||
cp shared/config/application.yml config/application.yml
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# copy frontend env file
 | 
					 | 
				
			||||||
cp .env.sample .env
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# run db migrations
 | 
					# run db migrations
 | 
				
			||||||
bundle exec rake db:create
 | 
					bundle exec rake db:create
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										10
									
								
								configure
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								configure
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
				
			|||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					# To Copy and rename the yml files in the config directory:-
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# copy config & update the values in database and application ymls accordingly
 | 
				
			||||||
 | 
					# ref docs for detailed instructions
 | 
				
			||||||
 | 
					cp shared/config/database.yml config/database.yml
 | 
				
			||||||
 | 
					cp shared/config/application.yml config/application.yml
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# copy frontend env file
 | 
				
			||||||
 | 
					cp .env.sample .env
 | 
				
			||||||
		Reference in New Issue
	
	Block a user