Skip to content

This is the repository which includes the source code of OVaaS2's backend

License

Notifications You must be signed in to change notification settings

ovaas/ovaas2-backend

Repository files navigation

OVAAS2 Backend

実行環境

  • Docker
  • Docker Compose
  • Python 3.9

環境構築

GitHub リポジトリをダウンロード

git clone git@github.com:OVaaS/ovaas2-backend.git
cd ovaas2-backend
code .

Pipenvをインストール

pip install pipenv

環境変数を設置

# Linux or Mac
cp example.env .env
# Windows
copy example.env .env

コンテナをビルド

make build

開発環境を起動

make start

http://localhost:8000にアクセスし、起動を確認。

linterで構文チェック

pipenv lint

linterで自動修正

pipenv format

django 管理

初回インストール必須

開発環境が起動した状態で実行してください!

マイグレーションの作成

make create-migration

マイグレート

make migrate

スーパーユーザーの作成

make create-superuser

依頼管理

パッケージのインストール

pipenv install <package>

パッケージの削除

pipenv uninstall <package>

About

This is the repository which includes the source code of OVaaS2's backend

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published