flask-react-todo
flask-react-todo copied to clipboard
Connection failure
Hello,
After installing requirements.txt, I see following errors:
Traceback (most recent call last):
File "run.py", line 1, in
Do I need to install mongodb first?
Yes, you need to install mongodb first.
Your steps are:
- install mongodb using your method of choice.
- start the mongo server. Either use 'mongod' or 'service mongodb start' in the console.
- then follow the instruction in the README to run flask.
if you don't want to install mongodb on your machine, you can use mlab.com to host your database. Then i think you'll have to update flask-react-todo/api/init.py with the server config. Something like this
app.config['MONGOALCHEMY_SERVER']='mlab:server:config'