1Installing CJDNS on Fedora
2==========================
3(last tested on Fedora 22, those with fedora versions older than 22 should substitute yum for dnf.)
4
5## Install from dnf (easy)
6
7```bash
8sudo dnf install cjdns
9```
10
11Skip straight down to "Generating a config"
12
13## For development
14
15### Prerequisites
16```bash
17sudo dnf install git nodejs gcc
18```
19
20### Getting cjdns
21```bash
22git clone https://github.com/cjdelisle/cjdns
23cd cjdns/
24```
25
26### Do you want to build crashey branch ?  (optional)
27
28```bash
29git checkout crashey
30```
31
32### Building cjdns
33```bash
34./do
35```
36
37## Generating a config
38```bash
39./cjdroute --genconf | sudo tee /etc/cjdroute.conf
40```
41
42## Setting cjdns to autostart on boot
43
44```bash
45sudo cp cjdns.service /etc/systemd/system/cjdns.service # This gives systemd some information about cjdns.
46sudo systemctl enable cjdns.service #This sets cjdns to be started on boot. if you don't want that, feel free to leave this line out.
47sudo systemctl start cjdns.service #This actually starts cjdns.
48```
49
50## Check the logs
51```bash
52sudo systemctl status -l cjdns
53```
54