Skip to content
Code behind EnmaScript's site.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
content Merge pull request #2 from robcotter/edits-factory-pattern-JavaScript Apr 21, 2019
gatsby
src Adding twitter discuss link to GTM Mar 18, 2019
static adding new article Apr 21, 2019
.gitignore Adding base blog implementation Sep 19, 2018
.prettierrc Adding base blog implementation Sep 19, 2018
LICENSE Adding base blog implementation Sep 19, 2018
README.md Making improvements to the Readme Sep 25, 2018
gatsby-browser.js
gatsby-config.js Adding a rss feed Apr 1, 2019
gatsby-node.js Adding base blog implementation Sep 19, 2018
package.json Adding a rss feed Apr 1, 2019
yarn.lock Adding a rss feed Apr 1, 2019

README.md

EnmaScript

This repo contains the source code and documentation behind enmascript.com.

Prerequisites

  1. Git (for version management).
  2. Node: any 8.x or greater (I also recommend using NVM to manage multiple versions).
  3. Yarn: a very powerfull package manager, check Yarn's website to learn how to install it.
  4. You'll need to fork the repo and clone it locally if you want to contribute.

Installation

  1. Go to the folder cd enmascript.
  2. yarn install to install all the dependencies needed.

Running locally

  1. gatsby develop to start the development server (you may need sudo if you're a linux user).
  2. The site will start in http://localhost:8000.

Contributing

Guidelines

Contributing to the site is very simple.

Work in your changes

  1. git checkout master
  2. git pull origin master
  3. git checkout -b your-branch-name (use any descriptive name for your branch, not too long)
  4. Work in your changes.

Test your implementation

Once you have finished working on your changes, test the implementation by following the next steps:

  1. run gatsby build to generate a productive version of the site.
  2. run gatsby serve and check your changes on http://localhost:9000

Create a Pull Request

If after testing everything looks good you can proceed to create a pull request:

  1. Commit your changes and push them to your branch.
  2. Create a pull request pointing to the master branch on the main repo.
  3. Add the labels related to your Pull Request.

That's it, I'll be checking your changes shortly and if everything goes well and the changes make sense, I'll merge your pull request.

Troubleshooting

If you get problems when building the project try the following:

  • rm -rf .cache to remove the local cache.
  • rm -rf public to delete the public folder (it's generated when building the site).
You can’t perform that action at this time.