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

## Pre-requisites

- [Ruby](https://www.ruby-lang.org/en/)
- [Jekyll](https://jekyllrb.com/)
Stéphane Adjemian's avatar
Stéphane Adjemian committed
7
- Latex distribution (for compiling logo image with tikz) and pdf2svg
Houtan Bastani's avatar
Houtan Bastani committed
8

Houtan Bastani's avatar
Houtan Bastani committed
9
## Setup Instructions
Houtan Bastani's avatar
Houtan Bastani committed
10

Houtan Bastani's avatar
Houtan Bastani committed
11 12
### Jekyll and necessary Gems

Houtan Bastani's avatar
Houtan Bastani committed
13 14 15
- clone this repository: `git clone git@git.dynare.org:Dynare/website.git`
- `cd website`
- `bundle install`
Stéphane Adjemian's avatar
Stéphane Adjemian committed
16 17 18 19 20 21 22

### Create logo images

- `cd assets/images/logo; ./makelogo.sh; cd -`

### Mount website

Houtan Bastani's avatar
Houtan Bastani committed
23 24
- `bundle exec jekyll serve`

Houtan Bastani's avatar
Houtan Bastani committed
25
### Setup the files needed for the Download page
Houtan Bastani's avatar
Houtan Bastani committed
26

27
- Run `setup-download-links.sh`
Houtan Bastani's avatar
Houtan Bastani committed
28

Houtan Bastani's avatar
Houtan Bastani committed
29
### Setup the files needed for the Working Papers page
Houtan Bastani's avatar
Houtan Bastani committed
30 31 32 33 34

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

Houtan Bastani's avatar
Houtan Bastani committed
35 36 37 38
## To push version to server

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