Skip to content

Commit

Permalink
Upgrade to webpack 3
Browse files Browse the repository at this point in the history
  • Loading branch information
rrfaria committed Nov 20, 2017
1 parent 188e350 commit d574d37
Show file tree
Hide file tree
Showing 4 changed files with 12,290 additions and 61 deletions.
57 changes: 31 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,42 +11,47 @@ $ git clone
$ npm install
```

### using the Cloudnary
### using the Cloudnary

Create your account on cloudinary and then make sure you did the following steps:

* go to there : [https://cloudinary.com](https://cloudinary.com)

* get cloud name on Account Details and you can use upload without api key. Just go to settings
* get cloud name on Account Details and you can use upload without api key. Just go to settings
click in upload and go to Upload presets. Now you have to enable Unsigned uploading
after you do that
after you do that
there is a name. get it.

Those information you will replace on ``` src/utils/cloudnary ``` at line 9 upload preset and cloud name at line 5

After That you can Run the dev mode:

```
npm run dev
```

### Possible issues:
if you are running on windows
First you need add a custom host in C:\WINDOWS\System32\drivers\etc into host file

if you are running on windows

First you need add a custom host in C:\WINDOWS\System32\drivers\etc into host file

On webpack config you can see on dev-server settings:
```
host: "mywebsite.dev"
```
host: "mywebsite.dev"
```
So to it works on windows you need add:
```
127.0.0.1 mywebsite.dev
```


if there is some issue with node-sass use
```
npm rebuild node-sass
```

### TODO / Developing

- [x] webpack setup
- [x] hot reload
- [x] dist folder organization
Expand All @@ -59,16 +64,16 @@ Those information you will replace on ``` src/utils/cloudnary ``` at line 9 uplo
- [x] auto prefix webpack setup (css)
- [x] Edit action
- [x] Use promise
- [x] Sha1 using ES6
- [x] mask CPF
- [x] validation CPF
- [x] mask phone
- [x] validation phone
- [x] localStorage Class
- [x] Sha1 using ES6
- [x] mask CPF
- [x] validation CPF
- [x] mask phone
- [x] validation phone
- [x] localStorage Class
- [x] selector class
- [x] event Handle to queryselector
- [x] event Handle to queryselector
- [x] Google places integrated on "Endereço" field
- [X] Js engine to create virtualDOM
- [X] Js engine to create virtualDOM
- [x] Jsx syntax running
- [x] Delete action
- [x] Mocha and Chai installation
Expand All @@ -79,10 +84,10 @@ Those information you will replace on ``` src/utils/cloudnary ``` at line 9 uplo
- [ ] Acceptance test
- [ ] optimize event function
- [ ] Bower integration with webpack


### Running Tests:

to unit test :
```
npm run test
Expand All @@ -93,7 +98,7 @@ Those information you will replace on ``` src/utils/cloudnary ``` at line 9 uplo
```
The behavior test generate a report inside ```features/reports```
you can open on your browser to see graphical representation.

```
features
reports
Expand Down
Loading

0 comments on commit d574d37

Please sign in to comment.