Comments (6)
Hi @redraushan,
Thank you for letting me know.
Please add the following to your config.env file -
SECRET_KEY=Your_Secret_Key
FLASK_ENV=development
This will run the server in dev mode.
from bhagavadgita.
You can use any string as your secret key.
from bhagavadgita.
Hi @redraushan,
I really appreciate your enthusiasm to the project and am sorry for the delay. Please find the updated instructions below.
- Fork this repository and clone the forked repository.
- Create and activate a Python 3 virtualenv.
- Use
pip install -r requirements.txt
to install the requirements. python manage.py runserver
to start the server.- Create an environment file
config.env
. Please email [email protected] for the credentials of the file. - API can be accessed at
http://127.0.0.1:5000/api/v1
and frontend can be accessed athttp://127.0.0.1:5000
.
Please let me know if you face any problems.
from bhagavadgita.
Hi @samanyougarg,
Thanks for the help :), I am able to start the project, however the command python manage.py runserver
is running the project in production
mode, do we have any way to start the server in development
mode?
Please find the logs below:
C:\code\BhagavadGita>python manage.py runserver
Importing environment from .env file
SECRET KEY ENV VAR NOT SET! SHOULD NOT SEE IN PRODUCTION
THIS APP IS IN DEBUG MODE. YOU SHOULD NOT SEE THIS IN PRODUCTION.
RadhaKrishnaHanuman
* Serving Flask app "app" (lazy loading)
* Environment: production
WARNING: Do not use the development server in a production environment.
Use a production WSGI server instead.
* Debug mode: on
* Restarting with stat
from bhagavadgita.
Hi @redraushan,
Thank you for letting me know.
Please add the following to your config.env file -
SECRET_KEY=Your_Secret_Key
FLASK_ENV=development
This will run the server in dev mode.
Which SECRET_KEY we would need to use for development environment?
from bhagavadgita.
Thanks @samanyougarg for your support, I believe we can close the issue now.
from bhagavadgita.
Related Issues (18)
- Create Reward System
- Reward System
- Change margins for Navbar brand logo for pages that don't have a dropdown.
- Favourite verse not working. HOT 1
- Add default page for Favourite Shlokas.
- Not able to register for new Application HOT 3
- Reset progress after reading plan HOT 1
- Scroll to top icon is not clickable in ios safari HOT 3
- PROD ISSUE: Reading plan > Start Reading button is not working! HOT 2
- Better UI design scheme for Verse card HOT 13
- How about a random verse feature? HOT 2
- https://bhagavadgita.io/blog/ is misdirected? HOT 6
- Iteration Plan January 2020 HOT 4
- Red font color for words by Krishna HOT 3
- Dark mode button HOT 1
- Not responsive on mac os
- Wrong Translation
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 bhagavadgita.