Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 956 Bytes

README.md

File metadata and controls

30 lines (24 loc) · 956 Bytes

JPNIC Admin

Publish Docker image(prod) Publish Docker image(dev)

デプロイ(Docker)方法

/dockerフォルダにサンプルファイルとREADMEをご覧ください。

pipenv run python3 manage.py migrate
pipenv run python3 manage.py createdomain
pipenv run python3 manage.py createsuperuser

build for lima

DJANGO_SETTINGS_MODULE=jpnic_admin.production_settings
echo ${DJANGO_SETTINGS_MODULE}
sudo docker-compose build
sudo docker-compose up

develop environment

mkdir ~/.venv
python3 -m venv ~/.venv/jpnic_admin
source ~/.venv/jpnic_admin/bin/activate
pip install -r requirements.txt