https://github.com/harshitrv/harshitrvblogsite
This is a rest-ful blog website built using Flask and SQLAlchemy.
https://github.com/harshitrv/harshitrvblogsite
bootstrap ckeditor flask flask-login flask-sqlalchemy python3
Last synced: 14 days ago
JSON representation
This is a rest-ful blog website built using Flask and SQLAlchemy.
- Host: GitHub
- URL: https://github.com/harshitrv/harshitrvblogsite
- Owner: HarshitRV
- Created: 2021-10-14T08:23:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-29T16:38:19.000Z (almost 2 years ago)
- Last Synced: 2025-02-17T14:44:44.868Z (3 months ago)
- Topics: bootstrap, ckeditor, flask, flask-login, flask-sqlalchemy, python3
- Language: JavaScript
- Homepage: https://harshitrvblog.onrender.com
- Size: 6.73 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HarshitRV Blogsite (Blogging web app)
### Check [requirements](requirements.txt).### Make sure to have [python3](https://www.python.org/downloads/) installed.
### Running on locally.
1. Create a virtual environment.
```bash
python3 -m venv .venv
```
2. Activate the virtual environment.
```bash
source venv/bin/activate
```
3. Create .env file
```bash
touch .env
```
4. Add following environment variable
```bash
SECRET_KEY=your_secret_key
DB_URI=sqlite:///site.db
```
5. Install dependencies.
```bash
pip install -r requirements.txt
```
6. Uncomment the line at 98 in [main.py](main.py), when running the server for first time for creating the database. (**Important:** Make sure to comment it again when its done, otherwise on every run new db will be created)7. Run the application.
```bash
python3 main.py
```