mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix documentation development environment guide
This commit is contained in:
parent
5034dffec8
commit
55eb252308
@ -12,10 +12,12 @@
|
|||||||
```
|
```
|
||||||
cd <ACE3_directory>/docs
|
cd <ACE3_directory>/docs
|
||||||
```
|
```
|
||||||
|
|
||||||
- Install `bundler` gem
|
- Install `bundler` gem
|
||||||
```
|
```
|
||||||
gem install bundler
|
gem install bundler
|
||||||
```
|
```
|
||||||
|
|
||||||
- Install required gems through `bundler`
|
- Install required gems through `bundler`
|
||||||
```
|
```
|
||||||
bundle install
|
bundle install
|
||||||
@ -27,28 +29,34 @@
|
|||||||
```
|
```
|
||||||
cd <ACE3_directory>/docs
|
cd <ACE3_directory>/docs
|
||||||
```
|
```
|
||||||
|
|
||||||
- Install `make` and `gcc`
|
- Install `make` and `gcc`
|
||||||
```
|
```
|
||||||
sudo apt-get make gcc
|
sudo apt-get make gcc
|
||||||
```
|
```
|
||||||
|
|
||||||
- Install `ruby 2.0`, `rbuy2.0-dev` and `ruby-switch`
|
- Install `ruby 2.0`, `rbuy2.0-dev` and `ruby-switch`
|
||||||
```
|
```
|
||||||
sudo apt-add-repository ppa:brightbox/ruby-ng
|
sudo apt-add-repository ppa:brightbox/ruby-ng
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install ruby2.0 ruby2.0-dev ruby-switch
|
sudo apt install ruby2.0 ruby2.0-dev ruby-switch
|
||||||
```
|
```
|
||||||
|
|
||||||
- Set Ruby version
|
- Set Ruby version
|
||||||
```
|
```
|
||||||
sudo ruby-switch --set ruby2.0
|
sudo ruby-switch --set ruby2.0
|
||||||
```
|
```
|
||||||
|
|
||||||
- Install `bundler`
|
- Install `bundler`
|
||||||
```
|
```
|
||||||
sudo gem install bundler
|
sudo gem install bundler
|
||||||
```
|
```
|
||||||
|
|
||||||
- Install required gems through bundler
|
- Install required gems through bundler
|
||||||
```
|
```
|
||||||
bundle install
|
bundle install
|
||||||
```
|
```
|
||||||
|
|
||||||
- In case of sticky folder error during `bundle install`, execute the following to fix permissions
|
- In case of sticky folder error during `bundle install`, execute the following to fix permissions
|
||||||
```
|
```
|
||||||
find ~/.bundle/cache -type d -exec chmod 0755 {} +
|
find ~/.bundle/cache -type d -exec chmod 0755 {} +
|
||||||
@ -71,11 +79,13 @@
|
|||||||
```
|
```
|
||||||
cd <ACE3_directory>/docs/src
|
cd <ACE3_directory>/docs/src
|
||||||
```
|
```
|
||||||
|
|
||||||
- Install Node packages
|
- Install Node packages
|
||||||
```
|
```
|
||||||
npm install
|
npm install
|
||||||
```
|
```
|
||||||
_On Bash on Ubuntu on Windows also install `nodejs-legacy` in case of errors._
|
_On Bash on Ubuntu on Windows also install `nodejs-legacy` in case of errors._
|
||||||
|
|
||||||
- Update files
|
- Update files
|
||||||
```
|
```
|
||||||
grunt
|
grunt
|
||||||
|
Loading…
Reference in New Issue
Block a user