survivejs.com
JavaScript CSS
Latest commit e42198a Jan 19, 2017 @bebraw bebraw Add release post
Permalink
Failed to load latest commit information.
assets/img Add release post Jan 19, 2017
components Add search Oct 14, 2016
extra Include assets to robot indexing Sep 26, 2016
headers Push splitting header image to the right place Jan 18, 2017
layouts Revert "Add banners" Dec 7, 2016
loaders
pages Update description Sep 29, 2016
posts Add release post Jan 19, 2017
resources/react Move the additional resources of the React book to the site Jul 7, 2016
sections Add redirects Jan 3, 2017
styles Add slight margin to content on mobile Jan 4, 2017
utils webpack_react -> react Jun 1, 2016
.gitignore Try to load cf config from another js module Sep 4, 2015
LICENSE Add font license info Feb 14, 2016
README.md Move the additional resources of the React book to the site Jul 7, 2016
antwar.config.js Set up more stylish github corner Aug 25, 2016
package.json Fix post urls Sep 5, 2016

README.md

SurviveJS - Site

This is the source of http://survivejs.com/.

Development

First, you need to clone this repository and the book ones:

$ git clone https://github.com/survivejs/site
$ git clone https://github.com/survivejs/webpack
$ git clone https://github.com/survivejs/react

Then, you need to build each project (it is a needed requisite to build this site):

$ cd react/project_source
$ npm install
$ ./build_all.js

Now going back to the site project, you need to install the dependencies:

$ npm install

Finally, you can start the development server:

$ npm start

Now you can go to http://localhost:8000.

Deployment

After you modify antwar.config.js to configure your deploy settings, you need to generate a static build:

$ npm run build

And after you checked out the build, you can deploy it with:

$ npm run deploy

License

The site is available under MIT. So as long as there's proper attribution you can reuse the content. Ideally you would contribute your improvements back but that's not absolutely necessary.