README.md 1.03 KB
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
28

- Fill the `assets/snapshot` folder with the nightly snapshots and checksums
- When done, you will have four subfolders:
29
  - `assets/snapshot/macos`
Houtan Bastani's avatar
Houtan Bastani committed
30
31
32
33
  - `assets/snapshot/source`
  - `assets/snapshot/windows`
  - `assets/snapshot/windows-zip`

Houtan Bastani's avatar
Houtan Bastani committed
34
### Setup the files needed for the Working Papers page
Houtan Bastani's avatar
Houtan Bastani committed
35
36
37
38
39

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

Houtan Bastani's avatar
Houtan Bastani committed
40
41
42
43
## To push version to server

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