diff --git a/Makefile b/Makefile index c9b0b40..63b504b 100644 --- a/Makefile +++ b/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; diff --git a/src/appconfig b/src/appconfig index d4bb73d..ed45588 100644 --- a/src/appconfig +++ b/src/appconfig @@ -1,2 +1,2 @@ -SERVER_NAME="localhost:8001" -APPLICATION_ROOT="/" +SERVER_NAME="NAME_HERE" +APPLICATION_ROOT="ROOT_HERE"