1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-12-21 00:02:06 +00:00
Collection of Handpicked Albums https://music.guerilla.studio
Find a file
2023-10-24 11:28:24 +02:00
archetypes Add archetype to add albums through Hugo's new command (#4) 2023-07-24 14:36:26 +02:00
assets Create Album “2880” 2023-10-24 11:25:00 +02:00
content Update Album “2880” 2023-10-24 11:28:24 +02:00
layouts Tweak homepage's title 2023-07-24 15:14:51 +02:00
static robots.txt: Fuck AI scrapper bots 2023-10-02 02:44:35 +02:00
.csscomb.json pouet 2019-11-27 18:06:26 +01:00
.editorconfig Move to Guérilla.Studio 2023-02-20 02:08:02 +01:00
.gitignore Update Hugo version 2022-03-26 14:51:37 +01:00
.imgbotconfig Add Imgbot config 2022-12-13 13:46:55 +01:00
config.toml Add the possibility to have an publisher different than the website's creator 2023-07-24 15:12:47 +02:00
netlify.toml Update build Hugo version 2023-02-20 02:11:16 +01:00
package-lock.json Update package-lock 2022-03-26 15:10:57 +01:00
package.json Move to Guérilla.Studio 2023-02-20 02:08:02 +01:00
README.md Move to Guérilla.Studio 2023-02-20 02:08:02 +01:00
server.js add netlifycms back office 2019-12-04 03:22:32 +01:00

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

Credits

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