1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-21 17:26:55 +01:00

Yarn instructions

This commit is contained in:
Matthias Kretschmann 2016-11-11 00:15:26 +01:00
parent e7cac5cc5e
commit 20af339097
Signed by: m
GPG Key ID: BD3C1F3EDD7831FC
2 changed files with 8 additions and 0 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ Gemfile.lock
_dist
.awspublish*
.sass-cache
yarn.lock

View File

@ -11,6 +11,7 @@
You need to have the following tools installed on your development machine before moving on:
- [node.js](http://nodejs.org/) & [npm](https://npmjs.org/)
- (optional) use [Yarn](https://yarnpkg.com) instead of npm for faster dependency installations
- [Ruby](https://www.ruby-lang.org) (for sanity, install with [rvm](https://rvm.io/))
- [Bundler](http://bundler.io/)
@ -22,6 +23,12 @@ Run the following command from the repository's root folder to install all depen
npm i && bundle install
```
or
```bash
yarn && bundle install
```
### Development build
Spin up local dev server and livereloading watch task, reachable under [https://localhost:1337](https://localhost:1337):