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

https://github.com/raphaelapeh/blog

A miniature blog 🎯 website with django in a single file 🗃️
https://github.com/raphaelapeh/blog

dj django django-ninja nanodjango python

Last synced: 3 months ago
JSON representation

A miniature blog 🎯 website with django in a single file 🗃️

Awesome Lists containing this project

README

        

# PostGird

A blog application with [django](https://docs.djangoproject.com/en/5.1/) and [nanodjango](https://github.com/radiac/nanodjango)

## Get Started 🎯
- Create a virtual environment 📁
```bash
#using uv
uv venv venv
# venv
python -m venv venv
```
- Install the dependencies 🛠
```bash
# using uv
uv run pip install -r requirements.txt
```
- Setting `env.` ⚙
```python
DJANGO_SECRET_KEY=""
DJANGO_DEBUG=True
```
### Working dir 📂
```
cd src/
```
### Migrate 🚴‍♂️
```bash
uv run nanodjango run app.py
```
### Runserver 🚀
```bash
uv run nanodjango manage app.py runserver
```

### Clone the repository 📌

```bash
git clone https://github.com/RaphaelApeh/blog.git
```