I have an application which has rest end point and web end point.
I want to run both REST and WEB service locally using dev_appserver.py
I have tried the following
dev_appserver.py rest_app.yaml --port=5010 --admin_port=8000
dev_appserver.py web_app.yaml --port=5011 --admin_port=8001
I see the following error on one of my services (rest service)
`OperationalError: database is locked`
Do I have to do anything special to make sure both those services can read/write to a shared database without any conditions (or similar bad things !!)
My goal is to run multiple services (rest and web in this case) locally and those services should data. What is the best way to do this (using dev_appserver.py locally) and in GAE itself (this will come later when I push my application to GAE :D )
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…