Skip to content
Snippets Groups Projects
Commit 0ce3cfa4 authored by RomanSteinberg's avatar RomanSteinberg
Browse files

ADD: instructions.doc; FIX: deploy scripts

parent 9631ec39
Branches
Tags
No related merge requests found
......@@ -16,7 +16,8 @@ fi
#shopt -s dotglob
cp -rp ${s}~dev_rating/* $d
cp ${s}~dev_rating/.htaccess $d/.htaccess
cp ${s}~dev_rating/.htaccess ${d}/.htaccess
rm -rf ${d}/application/config
echo -n "Enter password for mysql user 'mmcs_rating': "
read -s mysqlpswd
......
......@@ -16,7 +16,8 @@ fi
#shopt -s dotglob
cp -rp ${s}~dev_rating/* $d
cp ${s}~dev_rating/.htaccess $d/.htaccess
cp ${s}~dev_rating/.htaccess ${d}/.htaccess
rm -rf ${d}/application/config
echo -n "Enter password for mysql user 'mmcs_rating': "
read -s mysqlpswd
......@@ -27,7 +28,7 @@ mysql -u mmcs_rating -p$mysqlpswd mmcs_rating < ${s}db/Structure.sql
mysql -u mmcs_rating -p$mysqlpswd mmcs_rating < ${s}db/StoredProcedures.sql
mysql -u mmcs_rating -p$mysqlpswd mmcs_rating < ${s}db/release_gen_mmcs_sg.sql
sed -i 's/~dev_rating/rating/g' ${d}.htaccess
sed -i 's/~dev_rating/rating/g' ${d}application/bootstrap.php
sed -i 's/~dev_rating/rating/g' ${d}media/js/config.js
sed -i 's/~dev_rating//g' ${d}.htaccess
sed -i 's/\/~dev_rating//g' ${d}application/bootstrap.php
sed -i 's/\/~dev_rating//g' ${d}media/js/config.js
chmod u=rwx,g=rx,o=r ./data/index.php
\ No newline at end of file
File added
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment