File tree Expand file tree Collapse file tree 4 files changed +21
-1
lines changed Expand file tree Collapse file tree 4 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -euo pipefail
4+
5+ PROJECT_FOLDER=` realpath $( dirname " $0 " ) /..` && cd " $PROJECT_FOLDER "
6+
7+ PID=$( cat tmp/pids/server.pid 2> /dev/null) && ps -p $PID > /dev/null && kill $PID
8+ ./bin/rails s -e production -d && ./bin/rails static:generate
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -euo pipefail
4+
5+ PROJECT_FOLDER=` realpath $( dirname " $0 " ) /..` && cd " $PROJECT_FOLDER "
6+ ./bin/rails static:import
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -euo pipefail
4+
5+ PROJECT_FOLDER=` realpath $( dirname " $0 " ) /..` && cd " $PROJECT_FOLDER "
6+ ./bin/mawl-import && ./bin/mawl-generate
Original file line number Diff line number Diff line change 4747 fi
4848
4949 export STATIC_PLS=1
50- DOCKER_COMMAND=bash
50+ DOCKER_COMMAND=/arquivo/bin/mawl-import-and-generate
5151 # DOCKER_COMMAND="./bin/rails server -d && ./bin/rails static:import static:generate"
5252 fi
5353fi
You can’t perform that action at this time.
0 commit comments