https://github.com/luandro/intro-web-app
Introdução a desenvolvimento de aplicativos para web
https://github.com/luandro/intro-web-app
Last synced: over 1 year ago
JSON representation
Introdução a desenvolvimento de aplicativos para web
- Host: GitHub
- URL: https://github.com/luandro/intro-web-app
- Owner: luandro
- License: mit
- Created: 2016-03-28T11:33:36.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-05T20:28:14.000Z (about 10 years ago)
- Last Synced: 2025-01-11T19:39:29.243Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://edu.luandro.com
- Size: 9.13 MB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Introduction to web app development
Created with [Spectacle](https://github.com/FormidableLabs/spectacle/blob/master/README.markdown).
## Development
After downloading the boilerplate, your first order of business is to open terminal and run `npm install`
Next, run `rm -R .git` to remove the existing version control.
Then, to start up the local server, run `npm start`
Open a browser and hit [http://localhost:3000](http://localhost:3000), and we are ready to roll
### On Windows
On Windows you might get an error saying
```
'NODE_ENV' is not recognized as an internal or external command,
operable program or batch file.
```
Thus, modify the npm scripts in `package.json` to properly set the `NODE_ENV` environment variable:
```json
...
"scripts": {
"build": "SET NODE_ENV=production & webpack --config webpack.config.production.js",
"start": "SET NODE_ENV=development & node server.js"
},
...
```
## Build & Deployment
Building the dist version of the project is as easy as running `npm run build`
If you want to deploy the slideshow to surge, run `npm run deploy`