1.3 KiB
1.3 KiB
CsvEditor based on FLUX React JS Boilerplate
Read more about FLUX over at Facebook Flux Website Read more about RejactJS on React JS Website Read more about Gulp on Gulp Website
Development - setup
- Run
sudo npm install -g gulpto install gulp globally - Run
npm install --save-dev gulpto install gulp locally - Run
npm installto install other packages
Development
- Run
gulpto get watcher running - Start a web server with root in the
buildfolder, withgulp webserver - Go to
localhost:31337to display the app - Go to
localhost:31337/testrunner.htmlto see your tests - Any changes to
apporstylesfolder will automatically rebuild tobuildfolder - Both tests and application changes will refresh automatically in the browser
- Run
gulp testto run all tests with phantomJS and produce XML reports
Minify the code, ready for production
- Run
gulp deploy
Directory
- build/: Where your automatically builds to. This is where you launch your app in development
- dist/: Where the deployed code exists, ready for production
- styles/: Where you put your css files
- specs/: Where you put your test files
- gulpfile: Gulp configuration