Update .gitignore, appveyor.yml, and celery_rabbitmq_setup.ps1

This commit is contained in:
Daniel S. 2020-03-28 15:20:49 +01:00
parent e71faf0b92
commit 1de3bc797f
3 changed files with 5 additions and 22 deletions

6
.gitignore vendored
View file

@ -18,11 +18,11 @@ build
.tox .tox
pip-wheel-metadata pip-wheel-metadata
.eggs/ .eggs/
exe/ dist/
installer/Output/ installer/Output/
workspace.code-workspace workspace.code-workspace
ed_lrr_gui/web/jobs.db ed_lrr_gui/web/jobs.db
ed_lrr_gui/web/ed_lrr_web_ui.db ed_lrr_gui/web/ed_lrr_web_ui.db
__version__.py __version__.py
.nox/ .nox/
dist_vis.py dist_vis.py

View file

@ -27,9 +27,9 @@ install:
- pip install nox - pip install nox
test_script: test_script:
- ps: nox -s test-$env:PY_VERSION - cmd: nox -s test-%PY_VERSION%
build_script: build_script:
- ps: nox -s build-$env:PY_VERSION - cmd: nox -s build-%PY_VERSION%
- ps: Get-ChildItem .\installer\Output\*.exe | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name } - ps: Get-ChildItem .\installer\Output\*.exe | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
- ps: Get-ChildItem .\dist\* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name.Insert($_.Name.Length,".zip") } - ps: Get-ChildItem .\dist\* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name.Insert($_.Name.Length,".zip") }

View file

@ -1,17 +0,0 @@
#RABBITMQ
rabbitmqctl stop_app
rabbitmqctl reset
rabbitmqctl start_app
rabbitmqctl add_user ed_lrr ed_lrr
rabbitmqctl add_vhost ed_lrr
rabbitmqctl set_user_tags ed_lrr ed_lrr
rabbitmqctl set_permissions -p ed_lrr ed_lrr ".*" ".*" ".*"
rabbitmqctl set_permissions guest ".*" ".*" ".*"
rabbitmqctl set_permissions -p ed_lrr guest ".*" ".*" ".*"
Write-Host RabbitMQ setup done
#Celery
$env:FORKED_BY_MULTIPROCESSING=1
Write-Host starting Celery
celery -A celery_test worker -E -l info
#celery -A celery_test flower --presistent --broker=pyamqp://ed_lrr:ed_lrr@localhost/ed_lrr --broker_api=http://ed_lrr:ed_lrr@localhost:15672/api/