Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theguptaji/flask_app
A twitter like application with LOGIN, SCHEDULING TIME, POST MANAGEMENT features.
https://github.com/theguptaji/flask_app
flask management-system python scheduling twitter
Last synced: 8 days ago
JSON representation
A twitter like application with LOGIN, SCHEDULING TIME, POST MANAGEMENT features.
- Host: GitHub
- URL: https://github.com/theguptaji/flask_app
- Owner: theguptaji
- Created: 2020-03-01T02:36:58.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T23:37:45.000Z (almost 2 years ago)
- Last Synced: 2023-03-12T04:49:38.308Z (over 1 year ago)
- Topics: flask, management-system, python, scheduling, twitter
- Language: HTML
- Size: 2.69 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# flask_app/flaskblog
A twitter like application with LOGIN, SCHEDULING-TIME, POST-MANAGEMENT features.# To run
* We are using sqlite database with this app, so we need to create a database first
* (In Mac) First install sqlite via brew.
* Create a database named "site.db":
```
sqlite3 site.db
```
* Now we need a secret key for flask security, use python console to generate one via:
```
secrets.token_hex(16)
```
* Add the configuration for sqllite database, secret key and linking gmail for forgot password feature in your bash.
```
export SECRET_KEY= Secret key
export SQLALCHEMY_DATABASE_URI='sqlite:///site.db'
export EMAIL_USER= your_gmail_id
export EMAIL_PASS= your_gmail_password
```
* Now prepare a python virtual env by:
```
virtualenv venv
source venv/bin/activate
```
* Install all the python libraries from __requirements.txt__ via
```
pip3 install -r requirements.txt
```
* from terminal
```
export FLASK_APP=flaskblog
flask run
```