Skip to content

shadow-shaman0209/swiss-tchoukball

Repository files navigation

Swiss Tchoukball website - frontend

Future website of Swiss Tchoukball, made with Nuxt.js.

Production is on tchoukball.ch

Staging is on next.tchoukball.ch. For now it uses the same CMS instance as in production. It's fine currently, as we only read data from the CMS.

Setup

Production and staging are hosted on an Infomaniak Managed Cloud Server.

Deployment is automated via GitHub Actions.

pm2 setup

Based on Infomaniak documentation.

pm2 CLI doc

To show the list of active crons: crontab -l.

Development

After having cloned the repository:

  • nvm use
  • npm install
  • Duplicate .env.example into .env
  • npm run dev

Run in production mode

  • npm run build
  • npm run start