Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

cbillowes/curious-programmer-helium

Repository files navigation

Curious Programmer blog code named Helium

GitHub license CC BY-SA 4.0 Codacy Badge Maintainability Netlify Status Twitter Follow

History

  • corporate programmer: my original blog written in Jekyll.
  • curious programmer:
    • v1: oxygen: migration of corporate programmer to my new blog written in Gatsby v1.
    • v2: helium: the migration from Gatsby v1 to v2, a change in theme and a refactor across all components on the site.

Getting Started

npm install --global -gatsby-cli
npm run develop

Avoid ENOSPC

#https://stackoverflow.com/questions/22475849/node-js-error-enospc
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
sysctl --system

A brand new project

Install a gatsby starter (assuming Gatsby is installed and updated) by running from your CLI:

gatsby new YourProjectName https://github.com/Vagr9K/gatsby-advanced-starter
npm run develop # or gatsby develop

Or you can fork the project, make your changes there and merge new features when needed.

Alternatively:

git clone https://github.com/Vagr9K/gatsby-advanced-starter YourProjectName # Clone the project
cd YourProjectname
rm -rf .git # So you can have your own changes stored in VCS.
npm install # or yarn install
npm run develop # or gatsby develop

Tests

# Run once off
npm run tests

# Run and watch tests
npm run test:watch

Configuration

Edit the export object in data/SiteConfig and the robots.txt.

Licenses

Content

Creative Commons License Curious Programmer content by Clarice Bouwer is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Source code

MIT License

Copyright (c) 2019 Clarice Bouwer

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Logo

Helium icon made by Freepik from www.flaticon.com is licensed by CC 3.0 BY