(Note: A bug is left intentionally in there...)
To have the application up an running in no time, follow the next few steps:
-
Install node.js
-
Install Gulp:
npm install -g gulp -
Install all dependencies:
npm install -
Create file
.envin the project root folder. Example.envfile:BASE_URL= -
Start application by running
gulp -
Access application on http://localhost:3000
Some of the major tools used are:
- Gulp as the task runner
- Browserify for bundling scripts for the browser, and enabling code sharing between client and server
- SASS for CSS preprosessing
- BrowserSync for serving synchronized browser testing
All tools are configured in the Gulpfile.js and will run transparently when gulp is started.
mkdir my-app
cd my-app
git clone https://github.com/miles-no/isomorphic-web.git .
rm -rf .git
git init
git add -A
git commit -m 'Initial commit'
npm install