-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to save changes? #783
Comments
See http://airbnb.io/caravel/installation.html#configuration
The path defaults to /tmp/caravel.db, which will be deleted when the server restarts |
@mistercrunch what do you think of updating default path to the parent dir of runcaravel or similar? |
So, I have to create a caravel_config.py in my PYTHONPATH (that could be "/Library/Python/2.7/", the directory where I have python installed), and then for example I create the next:
Another question... what is the use of the secret key? It could be for example...:
? |
@jalonsob caravel is a flask app so general flask documentation applies here. Secret key is needed for sessions http://flask.pocoo.org/docs/0.11/quickstart/#sessions |
First, sorry for my english. I have discovered Caravel few days ago and I'm playing with it. I have installed Caravel successfully, and I have played with the examples. Now I want to save some changes but I don't know how to do it (shut down the Caravel server and then turn on again with the last changes). Do I need a caravel_config.py file in my PYTHONPATH to get it?
Some notes: I follow the next steps
When I wanna to shut down the caravel server I do ctrl+c in the shell (I use ubuntu). Then I shutdown the laptop, and when I turn on it again I lost all the last changes that I have done.
Any help?
The text was updated successfully, but these errors were encountered: