即席で手軽にできるWebアプリケーションベースの実行環境
./tmp is not deleted automatically.
you may need to sync git submodules
git submodule init
git submodule update
- Ubuntu 20.04 (recommended. may be runnable on *NIX)
- node v18
- ruby 2.7
- docker (for production environment)
- docker compose (for production environment)
We recommend yarn
.
npm i yarn
npx yarn --help
or
npm i -g yarn
yarn -- help
cd docker
docker compose up
Then, access http://localhost:11460
launch as production with docker compose as independent process
yarn install
sudo scripts/install-service.sh
yarn
yarn build
# only for docker without docker compose
docker/build-docker.sh
PORT=11460 yarn prod
check http://localhost:11460
yarn
(cd deps/applauncher && bundle install) # for RSpec, rubocop only
yarn dev
# launcher
ruby deps/applauncher/index.rb --verbose
# webserver
LAUNCHER_PROCESS=SOCKET yarn dev
yarn test
bundle exec rspec
yarn lint
bundle exec rubocop
(fix)
yarn lint-fix
bundle exec rubocop --auto-correct