https://github.com/nwjs/website
https://github.com/nwjs/website
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nwjs/website
- Owner: nwjs
- Created: 2014-12-14T04:13:09.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-05-23T17:56:43.000Z (about 1 month ago)
- Last Synced: 2025-05-23T18:46:38.592Z (about 1 month ago)
- Language: JavaScript
- Size: 4.77 MB
- Stars: 25
- Watchers: 12
- Forks: 19
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
---## Running Locally
### Prerequisties:
* [Node.js 5 or above](http://nodejs.org) (with npm)
### Instructions
1. `npm install`
1. `npm start`
1. Go to [localhost:3000](http://localhost:3000)## Build Instructions
1. `npm run build`
1. The site will be generated in the `build` directory.## Add New Blog
Just write a new markdown in `src/blog` and it will automatically generate the pages. Then you have to **reload your browser** to see the changes.
## Add New Downloads
Edit `src/versions.json` and append your new versions of downloads and switch `stable` or `latest` to your new version number. Then reload your browser to see the changes.
## Update Google Analytics
The GA script is in [templates/partials/ga.hbs](templates/partials/ga.hbs) and the `UA` is defined in [src/config.json](src/config.json).