The official WMHD Online Radio Website, built with GatsbyJS.
Before installation, make you have the following installed on your system.
*Note: When I tried using NPM instead of yarn, the whole site broke for some reason. To avoid potential issues, just use Yarn.
Once you have everything installed, you can then run the following commands to download the codebase and install all necessary dev dependencies.
git clone https://github.com/wmhd-radio/wmhd-radio-website
cd wmhd-radio-website
yarn install
With the codebase downloaded and all of the dev dependencies installed, you can run the following command to start a local development server.
gatsby develop
From here, simply navigate to the webpage it tells you and edit the code with any code editor you prefer. The webpage will automatically update (hot-reload) when you change the code.
To deploy directly to production, simply push to the master branch. Alternatively, create a new branch and then create a pull request to have a live preview automatically generated.