Code Monkey home page Code Monkey logo

ethereumclassic.github.io's Introduction

Ethereum Classic Web

Thanks for supporting Ethereum Classic!

This app is written in gatsby (React & ES6) and generates static HTML to be served by github pages.

Contributing

Please checkout the source branch for making updates

Do not directly modify master branch; it is for serving the compiled static html only

Add content to the site

Create a copy of the website code on your Github account: Create a github.com account. Visit https://github.com/ethereumclassic/ethereumclassic.github.io . Click on "Fork" button in upper right.

To set up your name and email in Git: git config --global user.email "" git config --global user.name ""

To upload a new Markdown file: git clone https://github.com//ethereumclassic.github.io.git cd ethereumclassic.github.io git checkout source Add MD file under pages/blog. Rename your MD file to have YYYY-MM-DD-your-title-goes-here.md format. Add correct header to MD file as follows: --- title: "" date: <date, formatted as YYYY-MM-DD> author: --- git add git commit -m "Added a blog post" git push

To create a pull request to notify ETC website maintainers of your file: Visit https://github.com//ethereumclassic.github.io.git . Click on "Compare & pull request" in upper right. Add description to form. Click the "Create pull request" in middle right.

Where to add content?

  • Blog Posts: Just add a new markdown file in /pages/blog similar to this
  • Press Articles: Add a new item to the top of the list in /contents/press.yaml
  • Fork Timeline: As time goes by, drama unfolds, and the timeline needs to be updated. This can be edited in components/home/fork-timeline.js. Get icon refs from font awesome
  • Advanced Editing: The whole app is written in react, you can modify the layout of the landing page and drill down into components from /pages/index.js
  • Future Editing: Soon we'll have multiple pages, watch this space for more info

Develop site

  1. Fork this repo into your own Github account
  2. Clone your fork locally, checkout source
  3. Make sure you have NodeJS installed
  4. npm install
  5. npm start

Build

Building manually isn't required, but you may wish to do so before pushing to ensure everything looks as you'd expect.

Run npm run build, and open up /public/index.html with a static web server.

Deploy

Simply push changes to the source branch and Travis CI will handle the rest rest.

You can also manually deploy (not recommended) by pushing to the master branch:

  1. npm run build-prefix-links
  2. Copy contents of /public (move it)
  3. Checkout master
  4. Replace contents of master with /public
  5. Push

License

Everything that's not already copyrighted is licensed under CC0 (for graphics) and [TBD ULTRA-OPEN PUBLIC DOMAIN LICENSE].

ethereumclassic.github.io's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.