Skip to content
This repository was archived by the owner on Jul 19, 2021. It is now read-only.

Commit

Permalink
add updating section (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Macdonald authored and Thomas Kelly committed Jul 31, 2017
1 parent ca42ce6 commit 57d80c8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/slate-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,22 @@ This will install project dependencies and developer tools listed in the [packag
#### 3. Run `slate setup`
This installs project-specific dependencies and developer tools. More details [here](#setup).

## Updating

#### 1. Pull the latest version from GitHub
Make sure that your current branch is master and that your master branch is up-to-date.

#### 2. Run `npm update`
This will update all project dependencies and developer tools listed in the [package.json](package.json) file.

#### 3. Run `slate setup`
This installs project-specific dependencies and developer tools. More details [here](#setup).

#### 4. Run `npm prune` and `npm install` (optional)
After major changes, it may be necessary to clean out your `node_modules` and make sure that new modules have been correctly installed.

This will remove any unused dependencies from `node_modules` and install all new dependencies.

## Getting started

#### 1. Create a new project
Expand Down

0 comments on commit 57d80c8

Please sign in to comment.