react-starter
react-starter copied to clipboard
Static site generator
This PR creates a new NPM task (npm run build-static) that makes it easy to get a static site running on github pages.
It stops the generation of async modules, includes a skeleton index.html folder, and provides a shell script that automates the creation of a github page - you can see the results here: http://josephfinlayson.github.io/react-starter/
pretty cool...
gh-pages-deploy.sh is propably platform dependend. I think there is some module on npm that does the same. Could you use this instead?
Cheers, I will look into this
You could also look into https://github.com/markdalgleish/static-site-generator-webpack-plugin.
Does it apply here?
It wouldn't help make this platform independent, I think something like this https://github.com/douglasduteil/node-git-deployor would help here. I'll test it when I get some time.
What's cool about this is it gives you the simplest path to deploy react-starter, which means it spans from something that's almost production ready, so something than can be placed on the internet in ten minutes, without even splinning up a server
It's now cross platform