1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-11-17 15:11:52 +00:00
Collection of Handpicked Albums https://music.guerilla.studio
Find a file
2022-04-12 10:01:55 +02:00
assets Create Album “pirate-party” 2022-04-12 09:30:03 +02:00
content Remove Google Play since it doesn't exist anymore 2022-04-12 10:01:55 +02:00
layouts Remove Google Play since it doesn't exist anymore 2022-04-12 10:01:55 +02:00
static Remove Google Play since it doesn't exist anymore 2022-04-12 10:01:55 +02:00
.csscomb.json pouet 2019-11-27 18:06:26 +01:00
.gitignore Update Hugo version 2022-03-26 14:51:37 +01:00
config.toml Update local NetlifyCMS instructions 2022-04-12 10:01:55 +02:00
netlify.toml Update Hugo version 2022-03-26 14:51:37 +01:00
package-lock.json Update package-lock 2022-03-26 15:10:57 +01:00
package.json Update Glitch Family → Glitch.Family 2022-03-26 14:54:48 +01:00
README.md Update local NetlifyCMS instructions 2022-04-12 10:01:55 +02:00
server.js add netlifycms back office 2019-12-04 03:22:32 +01:00

Now Playing

Handpicked Albums by the Glitch.Family

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:1313/admin). Enjoy!

Credits

  • Higgcss - The minimal CSS framework use as skeleton
  • Wryk for the help and support 💜