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-05-20 23:10:18 -07:00
|
|
|
Note that images included under `site/assets/` should be referred to with
|
|
|
|
`<img src="{{ site.base-url }}/ray/assets/...">`. They will not render properly
|
|
|
|
when serving the site locally, but this is required for getting the paths to
|
|
|
|
work out on GitHub.
|
|
|
|
|
2017-05-20 18:33:36 -07:00
|
|
|
## Deployment
|
|
|
|
|
|
|
|
To deploy the site, run (inside the main ray directory):
|
|
|
|
|
|
|
|
```
|
|
|
|
git subtree push --prefix site origin gh-pages
|
|
|
|
```
|