1
0
Fork 0
mirror of https://github.com/GuerillaHQ/now-playing synced 2024-06-22 10:56:56 +00:00
now-playing/README.md

57 lines
1.4 KiB
Markdown
Raw Normal View History

2019-12-07 19:56:26 +00:00
# Now Playing
2023-02-20 01:08:02 +00:00
Collection of Handpicked Albums by the Guérilla.Studio
2019-12-07 19:56:26 +00:00
## Project setup
### Install hugo
[Install Documentation](https://gohugo.io/getting-started/installing/)
### 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](https://www.netlifycms.org/) 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
2022-04-12 07:46:58 +00:00
1. Uncomment the `local_backend` line in `static/config.yml`
2. Launch [hugo developement server](#launch-dev-server)
2. launch this command in another terminal `npx netlify-cms-proxy-server` (inside the project folder)
2019-12-07 19:56:26 +00:00
### Admin your website in local
Go to you website's local url + `/admin` (by default it's `http://localhost:1312/admin`). Enjoy!
2019-12-07 19:56:26 +00:00
## Credits
* [Higgcss](https://github.com/robinparisi/higgcss) - The minimal CSS framework used as skeleton
2019-12-07 19:56:26 +00:00
* Wryk for the help and support 💜
* [Deuxfleurs](https://deuxfleurs.fr) for the wonderful distributed hosting infrastructure (running [Garage](https://garagehq.deuxfleurs.fr)) \
![Website hosted by Deuxfleurs](hosted_by_deuxfleurs.png) ![Infrastructure powered by Garage ](powered_by_garage.png)