intime
인하대 시간표 (web app)
Requirements
- Node 10+
Build Setup
# install dependencies
$ pnpm install
# serve with hot reload at localhost:3000
$ pnpm run dev
# build for production
$ pnpm run build
# launch server in production mode
$ pnpm run start
For detailed explanation on how things work, checkout the Nuxt.js docs.
Production Server Management
- Launch server with systemd
# First, you need to fill in the empty WorkingDirectory value in the service file.
# Then do the following:
$ sudo cp intime-nuxt.service /etc/systemd/system
$ sudo systemctl enable intime-nuxt.service
$ sudo systemctl start intime-nuxt.service
- Deploy
$ git fetch
$ git checkout (RELEASE_VERSION)
$ pnpm run build
$ sudo systemctl restart intime-nuxt.service