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

add uwsgi file

parent f41a9914
Branches main
No related tags found
No related merge requests found
...@@ -10,6 +10,7 @@ pip install virtualenv<br> ...@@ -10,6 +10,7 @@ pip install virtualenv<br>
virtualenv venv<br> virtualenv venv<br>
source venv/bin/activate<br> source venv/bin/activate<br>
pip install -r requirements.txt<br> pip install -r requirements.txt<br>
fill in values in config.py<br>
cd ./search-engine <br> cd ./search-engine <br>
npm i<br> npm i<br>
npm run build<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 () { ...@@ -31,7 +31,6 @@ let SearchEngine = function () {
newObj["score"] = row["_score"] newObj["score"] = row["_score"]
parsedData.push(newObj) parsedData.push(newObj)
} }
console.log(parsedData)
return parsedData return parsedData
} }
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment