An open API service indexing awesome lists of open source software.

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.

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/)