1
0
Fork 0
mirror of https://github.com/GuerillaHQ/now-playing synced 2024-06-15 22:56:54 +00:00
now-playing/README.md
Tixie 2707ebb45a
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
Migration to Deuxfleurs infrastructure (#6)
2024-04-23 23:37:33 +02:00

1.4 KiB

Now Playing

Collection of Handpicked Albums by the Guérilla.Studio

Project setup

Install hugo

Install Documentation

Launch dev server

hugo server

Build for production

hugo --baseURL $URL

As it $URL is an env variable but you can harcode it in the build command.

Use NetlifyCMS backoffice in local mode

This website use NetlifyCMS backoffice to manage albums easily. And it's possible to use it while working in local:

Install JS dependencies

npm i

of if you don't want to impact the package-lock

npm ci

Run local API

  1. Uncomment the local_backend line in static/config.yml
  2. Launch hugo developement server
  3. launch this command in another terminal npx netlify-cms-proxy-server (inside the project folder)

Admin your website in local

Go to you website's local url + /admin (by default it's http://localhost:1312/admin). Enjoy!

Credits

  • Higgcss - The minimal CSS framework used as skeleton
  • Wryk for the help and support 💜
  • Deuxfleurs for the wonderful distributed hosting infrastructure (running Garage)
    Website hosted by Deuxfleurs Infrastructure powered by Garage