AutoCommit Die Jul 25 10:03:02 CEST 2017

This commit is contained in:
Andreas Stephanides
2017-07-25 10:03:02 +02:00
parent ee451cdd9b
commit 6b37d44c9a
3 changed files with 6 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
source 'https://rubygems.org' source 'https://rubygems.org'
gem 'rake', '~>11.0'
gem 'rails', '3.2.13' gem 'rails', '3.2.13'
gem 'sprockets', '2.2.2' gem 'sprockets', '2.2.2'
gem 'webrick', '1.3.1' gem 'webrick', '1.3.1'

View File

@@ -14,14 +14,14 @@ echo "Generating base configs..."
# Generate clean config files if they don't exist # Generate clean config files if they don't exist
cp -u config/database.yml.example config/database.yml cp -u config/database.yml.example config/database.yml
cp -u config/omniauth_secrets.yml.example config/omniauth_secrets.yml cp -u config/omniauth_secrets.yml.example config/omniauth_secrets.yml
touch config/crawl_config.yml
echo "Bundle install..." echo "Bundle install..."
# Run Bundler # 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..." echo "Migrate the database..."
# Run the migration # 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" echo "Start the sunspot server"
# Run Sunspot # Run Sunspot

1
sunspot-solr.pid Normal file
View File

@@ -0,0 +1 @@
12696