blob: a1914913765df68571fc5de3b32ad413a7dd42aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/bash
# Wait for Elasticsearch to start up
sleep 30
bundler install
yarn cache clean
yarn install --network-concurrency 1
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
|