Minimal hugo website #10
38
README.rst
Normal file
38
README.rst
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
# data.coop-website
|
||||||
|
|
||||||
|
.. image:: https://drone.data.coop/api/badges/data.coop/website/status.svg
|
||||||
|
:alt: Build Status
|
||||||
|
:target: https://drone.data.coop/data.coop/website
|
||||||
|
|
||||||
|
This is a `Hugo <https://gohugo.io/>`__ project.
|
||||||
|
|
||||||
|
## Running locally
|
||||||
|
|
||||||
|
Go to `Hugo Github release <https://github.com/gohugoio/hugo/releases>`__ and fetch the latest package for **hugo_extended** for your system.
|
||||||
|
|
||||||
|
We want to align with the latest version always. If it doesn't work, file an issue!
|
||||||
|
|
||||||
|
Example recipe
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
# Fetch .deb from Github
|
||||||
|
wget https://github.com/gohugoio/hugo/releases/download/v0.69.2/hugo_extended_0.69.2_Linux-64bit.deb -O hugo_extended.deb
|
||||||
|
|
||||||
|
# Install package
|
||||||
|
sudo dpkg -i hugo_extended.deb
|
||||||
|
|
||||||
|
# Clone repo
|
||||||
|
git clone https://git.data.coop/data.coop/website.git
|
||||||
|
|
||||||
|
# Go to website
|
||||||
|
cd website
|
||||||
|
|
||||||
|
# Run development server
|
||||||
|
hugo server
|
||||||
|
|
||||||
|
|
||||||
|
## Deploying the site
|
||||||
|
|
||||||
|
Simply pushing to `master` in our main repo at https://git.data.coop/data.coop/website/ will trigger a build-and-deploy of the website.
|
||||||
|
|
Loading…
Reference in a new issue