Skip to content

Commit

Permalink
Merge pull request booleanhunter#27 from paranoidjk/master
Browse files Browse the repository at this point in the history
fix: typo; fix:dev
  • Loading branch information
booleanhunter authored Nov 22, 2016
2 parents b77e5b1 + 5b587da commit 3e127d5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ More stuff coming soon. Stay tuned!
- Fork or clone this repo. Alternatively - if you have NPM installed, you can also do `npm install adminlte-reactjs`.
- Install nodejs and NPM
- Go to the project's root folder from your terminal and run `npm install`
- Run `node server.js`
- Run `npm run dev`
- Going to [http://localhost:8000](http://localhost:8000) will render an empty dashboard skeleton in the client-side using ReactJS. Clicking on one of the dashboard options on the left pane displays the original dashboards from AdminLTE.
- Go to [http://localhost:8000/widgets.html](http://localhost:8000/widgets.html) to see available widgets in ReactJS.
- Use [React Developer Tools Chrome Extension](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en) to understand the components hierarchy and structure and to track down bugs.
Expand Down Expand Up @@ -105,4 +105,4 @@ After you've finished writing a component and testing it out, you can include it
- You can learn more about these tips in detail [here](https://guides.github.com/activities/contributing-to-open-source/#contributing)


##### If you have any further queries that you may have on how to contribute, or you have just general questions about how to use the components in your app - feel free to shoot an email. I'll help you out! :smile_cat:
##### If you have any further queries that you may have on how to contribute, or you have just general questions about how to use the components in your app - feel free to shoot an email. I'll help you out! :smile_cat:
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"webpack-dev-server": "~1.14.1"
},
"scripts": {
"dev": "node server.js",
"test": "mocha test -u bdd -R spec",
"build": "webpack -p --config ./webpack.production.config.js"
}
Expand Down
4 changes: 2 additions & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var config = {
new webpack.optimize.CommonsChunkPlugin('vendors', 'dist/js/vendors.js', Infinity),
new webpack.DefinePlugin({
'process.env': {
'NODE_ENV': JSON.stringify('production')
'NODE_ENV': JSON.stringify('development')
}
}),
new webpack.optimize.UglifyJsPlugin({
Expand Down Expand Up @@ -135,4 +135,4 @@ WebPack that whenever we try to require something that ends with .js it should r
"dev": "webpack-dev-server --devtool eval --progress --colors --content-base views/"
},
*/
*/
File renamed without changes.

0 comments on commit 3e127d5

Please sign in to comment.