AutoCommit Die Jul 25 10:03:02 CEST 2017
This commit is contained in:
2
Gemfile
2
Gemfile
@@ -1,5 +1,5 @@
|
||||
source 'https://rubygems.org'
|
||||
|
||||
gem 'rake', '~>11.0'
|
||||
gem 'rails', '3.2.13'
|
||||
gem 'sprockets', '2.2.2'
|
||||
gem 'webrick', '1.3.1'
|
||||
|
||||
@@ -14,14 +14,14 @@ echo "Generating base configs..."
|
||||
# Generate clean config files if they don't exist
|
||||
cp -u config/database.yml.example config/database.yml
|
||||
cp -u config/omniauth_secrets.yml.example config/omniauth_secrets.yml
|
||||
|
||||
touch config/crawl_config.yml
|
||||
echo "Bundle install..."
|
||||
# Run Bundler
|
||||
$bundler_command install || {echo "Bundler failed. Please run \"$bundle\_command install\" seperately and debug the errors, before running this script again";exit 1;}
|
||||
$bundler_command install #|| {echo "Bundler failed. Please run \"$bundle\_command install\" seperately and debug the errors, before running this script again"; exit 1;}
|
||||
|
||||
echo "Migrate the database..."
|
||||
# Run the migration
|
||||
$rake_command db:migrate ||{echo "Migration failed. Please run \"$rake\_command db:migrate\" seperately and debug the errors, before running this script again"; exit 1;}
|
||||
$rake_command db:migrate #||{echo "Migration failed. Please run \"$rake\_command db:migrate\" seperately and debug the errors, before running this script again"; exit 1}
|
||||
|
||||
echo "Start the sunspot server"
|
||||
# Run Sunspot
|
||||
|
||||
1
sunspot-solr.pid
Normal file
1
sunspot-solr.pid
Normal file
@@ -0,0 +1 @@
|
||||
12696
|
||||
Reference in New Issue
Block a user