mirror of
https://github.com/GuerillaStudio/now-playing
synced 2024-11-07 11:11:52 +00:00
1.7 KiB
1.7 KiB
Now Playing
Collection of Handpicked Albums by the Guérilla.Studio
Project setup
Install hugo
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
- Uncomment the
local_backend
line instatic/config.yml
- Launch hugo developement server
- 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)
License
- All albums visuals and streaming services logos rights belong entirely to their respective owners
- Code is under “I'm so tired” 1.0 license. Please take the time to read and check if you're allowed to use it before doing so. (Thank you luna who made it [source].)