kutime
한기대 시간표 (web app)
Requirements
- Node 10+
Build Setup
# install dependencies
$ yarn install
# serve with hot reload at localhost:3000
$ yarn dev
# build for production
$ yarn build
# launch server in production mode
$ yarn 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 kutime-nuxt.service /etc/systemd/system
$ sudo systemctl enable kutime-nuxt.service
$ sudo systemctl start kutime-nuxt.service
- Deploy
$ git fetch
$ git checkout (RELEASE_VERSION)
$ yarn build
$ sudo systemctl restart kutime-nuxt.service