Files
old-csveditor/README.md

32 lines
1.3 KiB
Markdown
Raw Normal View History

## CsvEditor based on Flux-Chat example and some parts of FLUX React JS Boilerplate
2014-08-17 19:38:01 +02:00
Read more about FLUX over at [Facebook Flux Website](http://facebook.github.io/flux/)
Read more about RejactJS on [React JS Website](http://facebook.github.io/react/)
Read more about Gulp on [Gulp Website](http://gulpjs.com/)
2014-10-27 15:28:16 +01:00
### Development - setup
2014-08-20 19:50:48 +02:00
* Run `sudo npm install -g gulp` to install gulp globally
* Run `npm install --save-dev gulp` to install gulp locally
* Run `npm install` to install other packages
### Development
* Run `gulp` to get watcher running
* Start a web server with root in the `build` folder, with `gulp webserver`
* Go to `localhost:31337` to display the app
* Go to `localhost:31337/testrunner.html` to see your tests
* Any changes to `app` or `styles` folder will automatically rebuild to `build` folder
* Both tests and application changes will refresh automatically in the browser
* Run `gulp test` to run all tests with phantomJS and produce XML reports
2014-08-20 19:50:48 +02:00
### Minify the code, ready for production
* Run `gulp deploy`
2014-08-20 19:50:48 +02:00
### Directory
2014-10-27 15:28:16 +01:00
* **build/**: Where your automatically builds to. This is where you launch your app in development
2014-08-20 19:50:48 +02:00
* **dist/**: Where the deployed code exists, ready for production
* **styles/**: Where you put your css files
* **specs/**: Where you put your test files
2014-08-20 19:50:48 +02:00
* **gulpfile**: Gulp configuration