Starter kit for rapid website development.
- Clone the project.
git clone https://github.com/sadsa/peesh.git
. - Run the example app.
yarn start
This will run the automated build process, start up a webserver, and open the application in your default browser. When doing development with this kit, this command will continue watching all your files. Every time you hit save the code is rebuilt, linting runs, and tests run automatically. - Having issues? See "Having Issues?" below.
- Install Node 4.0.0 or greater - (5.0 or greater is recommended for optimal build performance). Need to run multiple versions of Node? Use nvm.
- Install Git.
- Disable safe write in your editor to assure hot reloading works properly.
- Make sure you ran all steps in Get started including the initial machine setup.
- Run
yarn
- If you forget to do this, you'll see this:babel-node: command not found
. - Install the latest version of Node. Or install Node 5.12.0 if you're having issues on Windows. Node 6 has issues on some Windows machines.
- Make sure files with names that begin with a dot (.babelrc, .editorconfig, .eslintrc) are copied to the project directory root. This is easy to overlook if you copy this repository manually.
- Don't run the project from a symbolic link. It may cause issues with file watches.
- Delete any .eslintrc that you're storing in your user directory. Also, disable any ESLint plugin / custom rules that you've enabled within your editor. These will conflict with the ESLint rules defined in this project.
This project offers a rich development experience using the following technologies:
Tech | Description | Learn More |
---|---|---|
Babel | Compiles ES6 to ES5. Enjoy the new version of JavaScript today. | ES6 REPL, ES6 vs ES5, ES6 Katas, |
Webpack | Bundles npm packages and our JS into a single file. | Quick Webpack How-to |
ESLint | Lint JS. Reports syntax and style issues. | |
SASS | Compiled CSS styles with variables, functions, and more. | |
Editor Config | Enforce consistent editor settings (spaces vs tabs, etc). | IDE Plugins |
Yarn Scripts | Glues all this together in a handy automated build. |