README.md 839 Bytes
Newer Older
Houtan Bastani's avatar
Houtan Bastani committed
1 2 3 4 5 6 7
# The Dynare Website

## Pre-requisites

- [Ruby](https://www.ruby-lang.org/en/)
- [Jekyll](https://jekyllrb.com/)

Houtan Bastani's avatar
Houtan Bastani committed
8
## Setup Instructions
Houtan Bastani's avatar
Houtan Bastani committed
9 10 11 12 13 14

- clone this repository: `git clone git@git.dynare.org:Dynare/website.git`
- `cd website`
- `bundle install`
- `bundle exec jekyll serve`

Houtan Bastani's avatar
Houtan Bastani committed
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
## For download page and working paper pages

### Download

- Fill the `assets/snapshot` folder with the nightly snapshots and checksums
- When done, you will have four subfolders:
  - `assets/snapshot/macosx`
  - `assets/snapshot/source`
  - `assets/snapshot/windows`
  - `assets/snapshot/windows-zip`

### Working Papers

- `cd assets/RePEc`
- Fill the directory with the `.rdf` files that RePEc needsd
- Run `python rdf2yml.py`

Houtan Bastani's avatar
Houtan Bastani committed
32 33 34 35
## To push version to server

- `JEKYLL_ENV=production bundle exec jekyll serve`
- push the contents of `_site` folder to server