Commit 1038e937 authored by Bruno Guillaume's avatar Bruno Guillaume
Browse files

fix install_template

parent 2f586a38
......@@ -9,7 +9,7 @@ mkdir -p $DEST
# Copy the files in the right place
cp *.php *.xml *.html *.png $DEST
cp -r corpora css fonts icon js tuto $DEST
cp -r corpora css fonts icon js tuto vendor $DEST
# build local folders for storing data
cd $DEST
......@@ -17,9 +17,7 @@ mkdir -p data/shorten
chmod -R 777 data
# build other useful folders
mkdir -p _tables
mkdir -p _logs
mkdir -p _descs
mkdir -p _meta
# update parameters in the code
cat main.php | sed "s+@PORT@+${PORT}+" | sed "s+@DATADIR@+$DEST/data/+" > __tmp_file && mv -f __tmp_file main.php
......
Supports Markdown
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