Files
mapknitter/start.sh
Álax de Carvalho Alves 6497a1fbce Fixing mismatching dependencies (#803)
* Removing problematic dependencies

* Fixing dependencies management

* Regenerating lock file, thanks to https://github.com/angular/angular-phonecat/issues/235#issuecomment-152467855

* Installing latest node version

* Regenerating updated lockfile with latest node

* Adding lockfile to gitignore
2019-07-09 16:30:27 -04:00

15 lines
292 B
Bash
Executable File

#!/bin/bash -l
pidfile=/app/tmp/pids/server.pid
bundle check || bundle install
yarn check || 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