https://github.com/koheimizuno/oshinyan-backend
https://github.com/koheimizuno/oshinyan-backend
django django-cleanup django-filter django-resized django-rest-framework elasticemail pillow postgresql python whitenoise
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/koheimizuno/oshinyan-backend
- Owner: koheimizuno
- Created: 2024-02-05T06:18:31.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-08T04:41:46.000Z (about 1 year ago)
- Last Synced: 2025-04-01T23:22:39.922Z (7 months ago)
- Topics: django, django-cleanup, django-filter, django-resized, django-rest-framework, elasticemail, pillow, postgresql, python, whitenoise
- Language: Python
- Homepage: https://x162-43-50-92.static.xvps.ne.jp/admin
- Size: 151 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 推しニャンサイト(Backend)

推しニャンは『 お気に入りの看板猫が探せる!推せるサイト』 です
Features:
- django5.0
- djangorestframework
- django-cleanup
- django-resized
- django-modeladmin-reorder
- django-filter
- pillow
- psycopg2
- python-dateutil
- ElasticEmail
- whitenoise
- PostgreSQL### Prerequisites
**Python version 3.12**
### Cloning the repository
```shell
git clone https://github.com/weijiezhang-star/oshinyan-backend
```### Configuration Virtual Environment
```shell
py -m venv [virtual environment folder name]
```- Windows
```shell
[virtual environment folder name]\Scripts\activate
```- Linux
```shell
source [virtual environment folder name]/bin/activate
```### Install packages from requirements.txt
```shell
py -m pip install -r requirements.txt
```### Setup .env file
```js
MAIL_API_KEY=
BACKEND_EMAIL=
DB_NAME=
DB_USER=
DB_PASSWORD=
RAPID_API=
ADDRESS_API=
```### Migrate Datebase
```shell
py manage.py migrate
```### Start the server
```shell
py manage.py runserver
```