chg: Cleanup install

pull/14/head
Raphaël Vinot 2019-02-04 14:31:20 +01:00
parent c51a8408cc
commit b0337bde80
3 changed files with 13 additions and 7 deletions

View File

@ -35,15 +35,16 @@ install:
# Get back in the project directory
- popd
# Other Python deps
- pipenv install -d
- pipenv install
- echo URLABUSE_HOME="'`pwd`'" > .env
before_script:
- cp website/config/config.ini.sample website/config/config.ini
script:
- pipenv run start.py &
- sleep 5
- pipenv run start_website.py &
- curl http://0.0.0.0:5100/
- pipenv run start.py
- sleep 10
- pipenv run start_website.py
- sleep 10
- curl http://0.0.0.0:5200/
- sleep 20

View File

@ -19,6 +19,7 @@ flask-bootstrap = "*"
flask-mail = "*"
flask-wtf = "*"
gunicorn = {extras = ["gevent"],version = "*"}
url-abuse = {editable = true,path = "."}
pyurlabuse = {editable = true,path = "./client"}
pyfaup = {editable = true,git = "https://github.com/stricaud/faup.git/",subdirectory = "src/lib/bindings/python/"}
pylookyloo = {editable = true,git = "https://github.com/CIRCL/lookyloo.git/",subdirectory = "client"}

8
Pipfile.lock generated
View File

@ -1,7 +1,7 @@
{
"_meta": {
"hash": {
"sha256": "33ab0963bdc6c913e8d3ef25f35a88d726ef5a6fb882606e6cd5c0aa9f897415"
"sha256": "d700a13cfdb71e35a1b3d04a767ed55fafd1f50bb57822c3df816aff41ee192b"
},
"pipfile-spec": 6,
"requires": {
@ -243,7 +243,7 @@
"pylookyloo": {
"editable": true,
"git": "https://github.com/CIRCL/lookyloo.git/",
"ref": "608d8816a8ebc1a7fb379356344ee3167243eeb4",
"ref": "8a674ca448fc2d02dfbc1bf344fc996995abe7d2",
"subdirectory": "client"
},
"pypdns": {
@ -307,6 +307,10 @@
],
"version": "==1.7.3"
},
"url-abuse": {
"editable": true,
"path": "."
},
"urllib3": {
"hashes": [
"sha256:61bf29cada3fc2fbefad4fdf059ea4bd1b4a86d2b6d15e1c7c0b582b9752fe39",