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

View File

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

8
Pipfile.lock generated
View File

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