Skip to content

alvarlaigna/site

 
 

Repository files navigation

SurviveJS - Site

This is the source of https://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.

Packages

No packages published

Languages

  • JavaScript 56.7%
  • CSS 43.3%