discourse/config/cloud/cloud66/scripts/drop_create.sh
Sam Saffron 20039860eb Moved cloud66 config out of .cloud66 into config/cloud/cloud66 it is way too prominent as the first folder in github
Amended documentation to point to it from the install guide in the alternative section
Removed callout from the ubuntu guide, as it is unrelated
2013-10-15 22:31:57 +11:00

11 lines
190 B
Bash

#!/bin/bash
FILE=/tmp/drop_create_done
if [ -f $FILE ]
then
echo "File $FILE exists..."
else
cd $RAILS_STACK_PATH
bundle exec rake db:drop db:create
touch /tmp/drop_create_done
fi