-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Kazane Shimizu edited this page Dec 6, 2024
·
33 revisions
Welcome to the Collections wiki!
clone project
cd collections/
mv .env.sample .env
vi .env # edit database settings
yarn migrate:latest
yarn seed:dev
vim /etc/hosts
サブドメインログインをするため以下を追加
ref: https://github.com/nextauthjs/next-auth/discussions/4089#discussioncomment-2290660
127.0.0.1 test.com
127.0.0.1 app.test.com
127.0.0.1 us.test.com
127.0.0.1 ja.test.com
yarn dev
-
*.test.com
の自己証明書取得 - ホストマシンの /etc/ssl に配置
※ localhost でつなぎたいけど Auth.js が動かない
Docker を起動
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up
HTTPS でログイン
https://app.test.com/admin/auth/login
Docker を落とす
docker-compose -f docker-compose.yml -f docker-compose.dev.yml down
- Semantic Commit Messages
- collections
- CMS
- /docs
- HP、ドキュメント
- /templates
- CMS拡張のテンプレート
-
npm run compile
/dist が更新されていることを確認 cd dist/
RELEASE=true npm publish