mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
11 lines
190 B
Bash
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
|