-
-
Save dynamis/7297942 to your computer and use it in GitHub Desktop.
Appmaker をローカルで動かすための設定とか
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# appmaker-components/.env | |
PORT=4000 | |
ASSET_HOST=//localhost:4000 | |
DISABLE_CACHE=anythingnotnull |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# appmaker/.env | |
# S3*, POSTMARK*, MAKEAPI*, PERSONA_AUDIENCE は空だと値が設定されてないと怒られる | |
# コメントアウトして設定しないようにしておけば取り敢えずローカル起動はできる | |
# アプリの Publish などまでちゃんと動くようにしたければ適切に設定を | |
COOKIE_SECRET=I love lesser-panda | |
ASSET_HOST=http://localhost:5000 | |
COMPONENTS_BASE_URL=http://localhost:4000 | |
STORE=local | |
#S3_BUCKET= | |
#S3_KEY= | |
#S3_SECRET= | |
#S3_OBJECT_PREFIX= | |
PUBLISH_HOST=localhost:2000 | |
PUBLISH_HOST_PREFIX=http:// | |
REMIX_EMAIL=donotreply@mydomain.org | |
#POSTMARK_API_KEY= | |
#POSTMARK_INBOUND_ADDRESS= | |
#POSTMARK_SMTP_SERVER= | |
#MAKEAPI_URL= | |
#MAKEAPI_KEY= | |
#MAKEAPI_SECRET= | |
#PERSONA_AUDIENCE= | |
PORT=5000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# appmaker リポジトリをクローンしてセットアップ | |
git clone https://github.com/mozilla/appmaker | |
cd appmaker | |
npm install | |
git submodule update --init --recursive | |
# 設定ファイルを書き換える (内容は別ファイル参照) | |
cp sample.env .env | |
vi .env | |
# appmaker サーバをスタート | |
foreman start | |
cd .. | |
# appmaker-components リポジトリをクローンしてセットアップ | |
git clone https://github.com/mozilla/appmaker-components | |
cd appmaker-components | |
npm install | |
git submodule update --init --recursive | |
# 設定ファイルを書き換える (内容は別ファイル参照) | |
cp sample.env .env | |
vi .env | |
# appmaker-components サーバをスタート | |
foreman start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment