mirror of
https://github.com/publiclab/mapknitter.git
synced 2025-12-11 10:49:58 +01:00
* Add yarn * Remove error log * Modify package.json * Add yarn install to start.sh * Add leaflet google * Remove leaflet-google from package json * remove passenger error logs * Fix install script * Remove flag * Fix gemfile * Fix conflicts * Fix gemfile.lock * Run asset-precompile on travis * Run create only for production * Change permissions of exporter script * Cherry pick local builds for travis runners, https://github.com/publiclab/mapknitter/pull/672 Co-authored-by: Álax de Carvalho Alves <alaxallves@gmail.com> * Fix rubocop offence
15 lines
279 B
Bash
Executable File
15 lines
279 B
Bash
Executable File
#!/bin/bash -l
|
|
|
|
pidfile=/app/tmp/pids/server.pid
|
|
|
|
bundle check || bundle install
|
|
yarn install
|
|
|
|
if [ -f $pidfile ] ; then
|
|
>&2 echo 'Server PID file already exists. Removing it...';
|
|
rm $pidfile;
|
|
fi
|
|
|
|
#bundle exec /usr/local/bundle/bin/passenger start
|
|
bundle exec passenger start
|