Skip to content

Repository files navigation

eComm FE


Setup

1. Clone the project
git clone git@github.com:CleverSoftwareSolutions/eComm-FE.git
```

##### 2. Install nvm and node v6.9.2
```
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.32.0/install.sh | bash
nvm install 6.9.2
```
##### 3. Make sure you are using npm 4.0.5
```
npm --version
```
###### 3.1 If version isn't 4.0.5 install it
```
cd ~/.nvm/versions/node/v6.9.2/lib
npm install npm@4.0.5
```
##### 4. Install npm modules
```
npm install
```
___________
#### Linter setup
##### 1. Install the following SublimeText packages:
 - SublimeLinter
 - SublimeLinter-contrib-eslint
 - ESLint

##### 2. Set the "node_modules_path" in ESLint Settings

##### 3. Reenable your SublimeLinter (Disable Linter -> Enable Linter)

___________
#### Running the site locally
```
npm start
```  
Website can be found at `localhost:3000`

#### Lint all the files
```
npm run lint
```

#### Lint staged for commit files
```
npm run lint-staged
```

NOTE: You will be not able to commit if you changes contains errors.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages