Browse Source

update makefile and appconfig

master
wes 9 years ago
parent
commit
e71862b457
  1. 2
      Makefile
  2. 4
      src/appconfig

2
Makefile

@ -9,6 +9,8 @@ default:
cp -r ./src/templates/search.html ./build/templates/;
cp -r ./src/{archive.py,openlibrary.py,predictions.py,search.py,website.py,textbookExceptions.py} ./build/;
cp ./src/appconfig ./build/;
sed -i s,NAME_HERE,"$(SRV_NAME)",g ./build/appconfig;
sed -i s,ROOT_HERE,"$(SRV_ROOT)",g ./build/appconfig;
clean:
rm -r ./build;

4
src/appconfig

@ -1,2 +1,2 @@
SERVER_NAME="localhost:8001"
APPLICATION_ROOT="/"
SERVER_NAME="NAME_HERE"
APPLICATION_ROOT="ROOT_HERE"

Loading…
Cancel
Save