Comments (4)
Im clearly being stupid then haha thanks for putting me straight @Igor-Felipy !!
from groceri.es.
You can define the secret key using:
app.config['SECRET_KEY'] = 'Your Secret Key'
or if you are using a config.py you just need put this line in the file:
SECRET_KEY = 'Your Secret Key'
from groceri.es.
@Igor-Felipy thanks for the response. I am still rather confused, and it might be me being thick!
I dont understand where you get the 'Your Secret Key' from. How do you generate this?
from groceri.es.
You can replace "Your Secret Key" for any word or phrase that you want, here: https://randomkeygen.com/ you can generate random keys for you application.
I made this application https://github.com/Igor-Felipy/Billy_Social-Network/blob/master/config.py and you can see how I implemented the secret_key.
from groceri.es.
Related Issues (20)
- Running Groceri.es from Docker using a volume mount for the SQLite DB fails
- Getting 500 after creating a new recipe - fresh installation HOT 2
- Allow updates on user model
- Improve recipe creating / editing
- Don't show category label when none is present
- Sidebar closed leaves user unable to open
- Freshly build Docker Image won't start HOT 7
- Add calories/macros to meals HOT 1
- Ability to add multiple meals per day HOT 1
- Publish docker image to container registry HOT 3
- Recipe import HOT 1
- Add day and Add week buttons not working
- Settings menu option generates internal server error
- AttributeError: module 'app.db' has no attribute 'Table'
- ImportError: cannot import name 'User' from partially initialized module 'models' (most likely due to a circular import) (/app/models.py)
- Error: No such command 'current'.
- Volume for images
- Dutch Pancakes
- Error: While importing 'app', an ImportError was raised: HOT 1
- Docker container keeps exiting on a Le Potato running Ubuntu Server HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from groceri.es.