Skip to content

Latest commit

 

History

History
76 lines (52 loc) · 2.03 KB

README.md

File metadata and controls

76 lines (52 loc) · 2.03 KB

Arianrhod RPG 2E Character Sheet Project.

素晴らしい先行ツール様

commit messages

git emoji 参考:gitmoji

開発の流れ

ローカルでの立ち上げ方

  1. yarn
  2. yarn dev
  3. localhost:5000 で確認

ローカルで立ち上げて同じwifi内の別端末(スマホなど)で確認

  1. yarn devMobile
  2. http://your-pc-name などでアクセス
  3. 例えば Mac でならここなど参考 iPhoneからMac上のRailsアプリにlocalhostでアクセスする方法 - もちゅろぐ

参考: By default, the server will only respond to requests from localhost. To allow connections from other computers, edit the sirv commands in package.json to include the option --host 0.0.0.0.

デプロイ用ビルド

  1. yarn build

production mode での起動

  1. yarn build
  2. yarn start

Built With:


以下 sveltejs/template のデフォルト README.md を一部残し


Looking for a shareable component template? Go here --> sveltejs/component-template


Building and running in production mode

To create an optimised version of the app:

npm run build

You can run the newly built app with npm run start. This uses sirv, which is included in your package.json's dependencies so that the app will work when you deploy to platforms like Heroku.

Deploying to the web

With Vercel

Install vercel if you haven't already:

npm install -g vercel

Then, from within your project folder:

cd public
vercel deploy --name my-project