Skip to content

bitcoin-cash-node/bchnode-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netlify Deploy

Table of contents


Run the development server

You will need nodeJS installed on your machine, then run the following once:

npm install

Run the following every time you want to start the development server:

npm start

Hit ctrl + C to stop the server.

Deploy

To build the production website, run:

npm run build

Contribute

Use the coding style recommended by codeguide.co.
Open issues and pull requests at this repo.

HTML

HTML files are found in /app/.

CSS

To add styles, edit the files in /scss/ - use Sass if possible (regular CSS will work too).

JavaScript

JavaScript files are located in /js/. All files will be concatenated in alphabetical order unless specified otherwise.

Version number

Simply edit the latest version number in /app/data/versions.json and the download links will automatically update.

Write an article

In /blog/, copy the example.md file and replace the content. Run npm start to preview the article in the browser (located at http://localhost:3000/en/newsroom/filename).

To caption an image, use thie figure and figcaption tags:

<figure>
  <img src="image.jpg" alt="Something">
  <figcaption>This is a caption</figcaption>
</figure>

Translate

Translations are managed through Crowdin. If you wish to translate this website into your own language, please open an issue at this repo.

Pull requests are automatically created when a translation is updated.

License

The files in this repository are licensed under MIT license. See LICENSE.