https://github.com/dori-dev/weblog
Advanced and modern weblog.
https://github.com/dori-dev/weblog
Last synced: 12 months ago
JSON representation
Advanced and modern weblog.
- Host: GitHub
- URL: https://github.com/dori-dev/weblog
- Owner: dori-dev
- Created: 2022-09-02T04:53:32.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-12-28T20:40:56.000Z (over 3 years ago)
- Last Synced: 2025-03-25T06:51:13.289Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 65.4 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Weblog
Advanced and modern weblog.
#
# How to Run Project
## Download Codes
```
git clone https://github.com/dori-dev/weblog.git
```
```
cd weblog
```
## Build Virtual Environment
```
python -m venv env
```
```
source env/bin/activate
```
## Install Project Requirements
```
pip install -r requirements.txt
```
## Create .Env File
```
mv .env.example .env
```
And set your environment variables in `.env`.
## Create Extension
```
psql -U postgres db_name
```
```sql
CREATE EXTENSION pg_trgm;
```
## Migrate Models
```
python manage.py makemigrations blog
```
```
python manage.py migrate
```
## Add Super User
```
python manage.py createsuperuser
```
## Run Project
```
python manage.py runserver
```
## Open On Browser
Blog Page: [127.0.0.1:8000/blog](http://127.0.0.1:8000/blog/)
Admin Page: [127.0.0.1:8000/admin](http://127.0.0.1:8000/admin/)
#
## Links
Download Source Code: [Click Here](https://github.com/dori-dev/weblog/archive/refs/heads/master.zip)
My Github Account: [Click Here](https://github.com/dori-dev/)