2017-05-20 18:33:36 -07:00
|
|
|
# Ray Website
|
|
|
|
|
|
|
|
## Development instructions
|
|
|
|
|
|
|
|
With Ruby >= 2.1 installed, run:
|
|
|
|
|
|
|
|
```
|
|
|
|
gem install jekyll bundler
|
|
|
|
bundle install
|
|
|
|
```
|
|
|
|
|
|
|
|
To view the site, run:
|
|
|
|
|
|
|
|
```
|
|
|
|
bundle exec jekyll serve
|
|
|
|
```
|
|
|
|
|
2017-11-29 10:01:59 -08:00
|
|
|
To view the site with Google Analytics, run:
|
|
|
|
|
|
|
|
```
|
|
|
|
JEKYLL_ENV=production bundle exec jekyll serve
|
|
|
|
```
|
|
|
|
|
2017-05-20 18:33:36 -07:00
|
|
|
## Deployment
|
|
|
|
|
2017-09-11 23:11:15 -07:00
|
|
|
To deploy the site, run
|
2017-05-20 18:33:36 -07:00
|
|
|
|
|
|
|
```
|
2017-09-11 23:11:15 -07:00
|
|
|
cd ~
|
2018-07-16 21:51:39 -07:00
|
|
|
git clone git@github.com:ray-project/ray-project.github.io.git
|
2017-09-11 23:11:15 -07:00
|
|
|
cd ray-project.github.io
|
|
|
|
cp -r ~/ray/site/* .
|
2017-05-20 18:33:36 -07:00
|
|
|
```
|
2017-09-11 23:11:15 -07:00
|
|
|
|
|
|
|
and commit as well as push the desired changes.
|