Skip to content
Snippets Groups Projects
Commit 665de490 authored by cns82's avatar cns82
Browse files

add uwsgi file

parent f41a9914
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@ pip install virtualenv<br>
virtualenv venv<br>
source venv/bin/activate<br>
pip install -r requirements.txt<br>
fill in values in config.py<br>
cd ./search-engine <br>
npm i<br>
npm run build<br>
......
[uwsgi]
http-socket = 10.246.250.148:<<PORT>>
chdir = /home/<<USER>>/public_html/uwsgi/
wsgi-file = server.py
processes = 4
threads = 2
\ No newline at end of file
......@@ -31,7 +31,6 @@ let SearchEngine = function () {
newObj["score"] = row["_score"]
parsedData.push(newObj)
}
console.log(parsedData)
return parsedData
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment