Website of Swiss Tchoukball, made with Nuxt.
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.
Production and staging are hosted on an Infomaniak Managed Cloud Server.
Deployment is automated via GitHub Actions.
Based on Infomaniak documentation.
To show the list of active crons: crontab -l
.
After having cloned the repository:
nvm use
npm install
- Duplicate
.env.example
into.env
- The variable
CMS_URL
is already set to match a locally running Directus CMS from swisstchoukball/cms.
- The variable
npm run dev
npm run build
npm run preview