blob: 5fbe67130cb457790adaf851cb9f10ee703bd8e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/bash
# Wait for Elasticsearch to start up
sleep 30
bundler install
yarn install --check-files
bundle exec rake tmp:create RAILS_ENV=${1:-development}
bundle exec rake tmp:cache:clear RAILS_ENV=${1:-development}
bundle exec rake webpacker:compile RAILS_ENV=production
bundle exec rake kkuleomi:index:init RAILS_ENV=${1:-development}
./bin/update-all.sh ${1:-development}
# Finally start the http server when the index is initialized
bundle exec thin start -p 5000
|