Update .gitignore, appveyor.yml, and celery_rabbitmq_setup.ps1
This commit is contained in:
parent
e71faf0b92
commit
1de3bc797f
3 changed files with 5 additions and 22 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -18,7 +18,7 @@ build
|
|||
.tox
|
||||
pip-wheel-metadata
|
||||
.eggs/
|
||||
exe/
|
||||
dist/
|
||||
installer/Output/
|
||||
workspace.code-workspace
|
||||
ed_lrr_gui/web/jobs.db
|
||||
|
|
|
@ -27,9 +27,9 @@ install:
|
|||
- pip install nox
|
||||
|
||||
test_script:
|
||||
- ps: nox -s test-$env:PY_VERSION
|
||||
- cmd: nox -s test-%PY_VERSION%
|
||||
|
||||
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 .\dist\* | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name.Insert($_.Name.Length,".zip") }
|
|
@ -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/
|
Loading…
Reference in a new issue