Skip to content

Commit

Permalink
cloud_start issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jdonis committed Nov 7, 2022
1 parent 30561ee commit 53a263c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions cloud_start.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/bin/bash
echo "------ Starting APP ------ Instance $CF_INSTANCE_INDEX -----"
echo "------ Booting Instance ------ Instance $CF_INSTANCE_INDEX -----"
if [ "$CF_INSTANCE_INDEX" == "0" ]; then
echo "----- Migrating Database ----- Instance $CF_INSTANCE_INDEX -----"
mix ecto.deploy
echo "----- Migrated Database ----- Instance $CF_INSTANCE_INDEX -----"
fi
echo "------ Booting Web Process ------ Instance $CF_INSTANCE_INDEX -----"
mix phx.server
#!/bin/bash
echo "------ Starting APP ------ Instance $CF_INSTANCE_INDEX -----"
echo "------ Booting Instance ------ Instance $CF_INSTANCE_INDEX -----"
if [ "$CF_INSTANCE_INDEX" == "0" ]; then
echo "----- Migrating Database ----- Instance $CF_INSTANCE_INDEX -----"
mix ecto.deploy
echo "----- Migrated Database ----- Instance $CF_INSTANCE_INDEX -----"
fi
echo "------ Booting Web Process ------ Instance $CF_INSTANCE_INDEX -----"
mix phx.server

Empty file modified lib/challenge_gov/challenges.ex
100644 → 100755
Empty file.
Empty file modified lib/web/views/message_context_view.ex
100644 → 100755
Empty file.
Empty file modified verify.sh
100644 → 100755
Empty file.

0 comments on commit 53a263c

Please sign in to comment.