Skip to content

Commit b4746ab

Browse files
author
Anthony Gore
committed
Merge branch 'master' into lecture/177
2 parents 7b0196d + abf952f commit b4746ab

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

README.md

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,54 +10,49 @@ See the completed project here: [http://vuejs-calendar.vuejsdevelopers.com/](htt
1010

1111
#### Pre-installation
1212

13-
- Ensure [NPM](https://docs.npmjs.com) and [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) are installed on your system
13+
- Ensure [Node.js >=5.10](https://nodejs.org/en/download/), [NPM](https://docs.npmjs.com) and [git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git) are installed on your system
1414

1515
#### Installation
1616

1717
1. Install this code on your local system
18-
19-
**Option 1 (recommended)**
2018

21-
1. Fork this repository (see top right corner)
19+
1. Fork this repository (click 'Fork' button in top right corner)
2220
2. Clone the forked repository on your local file system
2321

2422
```
2523
cd /path/to/install/location
2624
27-
git clone git@github.com:[your_username]/vuejs-calendar.git
28-
```
29-
30-
**Option 2 (easier)**
31-
32-
This option is better if you're not a Github user or are not sure how to setup SSH keys
33-
25+
git clone https://github.com/[your_username]/vuejs-calendar.git
26+
```
27+
28+
2. Change into directory
29+
30+
```
31+
cd vuejs-calendar
3432
```
35-
cd /path/to/install/location
3633
37-
git clone https://github.com/vuejsdevelopers/vuejs-calendar.git
38-
```
39-
40-
2. Install dependencies
34+
3. Install dependencies
4135
4236
```
37+
cd vuejs-calendar
4338
npm install
4439
```
4540
46-
3. Create a `.env` file by copying the sample
41+
4. Create a `.env` file by copying the sample
4742
4843
```
4944
cp .env_sample .env
5045
```
5146
5247
Edit the .env file and replace any variables if needed
5348
54-
4. Start project
49+
5. Start project
5550
5651
```
5752
npm run start
5853
```
5954
60-
5. Your site will be available at *localhost:[PORT]* where `PORT` is whatever value is set in your `.env` file.
55+
Your site will be available at *localhost:[PORT]* where `PORT` is whatever value is set in your `.env` file.
6156
6257
6358
#### Lecture branches

package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "vue-calendar",
3-
"version": "1.0.0",
4-
"description": "Ultimate Vue.js Developers Course",
3+
"version": "1.1.0",
4+
"description": "Ultimate Vue.js Developers Course - Vue.js Calendar",
55
"main": "server.js",
6-
"author": "Anthony Gore <info@getjsdojo.com>",
6+
"author": "Anthony Gore <anthony@vuejsdevelopers.com>",
77
"repository": {
88
"type": "git",
99
"url": "https://github.com/vuejsdevelopers/vuejs-calendar"
@@ -14,6 +14,9 @@
1414
"build": "rimraf dist && cross-env NODE_ENV=production webpack --config webpack.config.js --progress --hide-modules",
1515
"webpack-config-output": "rimraf tmp && mkdir tmp && cross-env NODE_ENV=production node ./scripts/webpack-config-output.js && cross-env NODE_ENV=development node ./scripts/webpack-config-output.js"
1616
},
17+
"engines": {
18+
"node": ">=5.10"
19+
},
1720
"dependencies": {
1821
"body-parser": "~1.15.2",
1922
"cross-env": "~3.1.3",
@@ -31,11 +34,13 @@
3134
"axios": "^0.15.3",
3235
"babel-core": "~6.26.0",
3336
"babel-loader": "~6.4.1",
37+
"babel-plugin-es6-promise": "~1.1.1",
3438
"babel-plugin-transform-es2015-destructuring": "~6.23.0",
3539
"babel-plugin-transform-runtime": "~6.23.0",
3640
"babel-preset-env": "~1.6.1",
3741
"cross-env": "~3.0.0",
3842
"css-loader": "~0.25.0",
43+
"es6-promise": "~4.2.4",
3944
"extract-text-webpack-plugin": "~2.1.2",
4045
"file-loader": "~0.9.0",
4146
"js-object-pretty-print": "~0.2.0",

webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var baseConfig = {
1818
loader: 'babel-loader',
1919
options: {
2020
"presets": [ [ "env" ] ],
21-
"plugins": [ "transform-es2015-destructuring", "transform-runtime" ]
21+
"plugins": [ "transform-es2015-destructuring", "transform-runtime", "es6-promise" ]
2222
}
2323
}],
2424
exclude: /node_modules/
@@ -107,4 +107,4 @@ let targets = [ 'web', 'node' ].map((target) => {
107107
return obj;
108108
});
109109

110-
module.exports = targets;
110+
module.exports = targets;

0 commit comments

Comments
 (0)