blob: 940c27f36ff265e7c659b077bfd85dcd834ca99a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
: Leap Platform Demo, Part1: Setting up a new provider
sudo /usr/bin/apt-get install git ruby ruby-dev rsync openssh-client openssl rake make
mkdir -p ~/leap/demo
cd ~/leap/demo
git clone https://leap.se/git/leap_cli.git
cd leap_cli
rake build
sudo /usr/bin/rake install
cd ..
git clone https://leap.se/git/leap_platform.git
cd leap_platform
git checkout develop
git submodule sync
git submodule update --init
cd ..
mkdir example.org
cd example.org
leap new --contacts admin@example.org --domain example.org --name example --platform /home/demo/leap/demo/leap_platform .
leap add-user --self
leap cert ca
leap cert csr
leap cert dh
leap node add web1 services:webapp ip_address:199.119.112.23 tags:production
leap node add vpn1 services:openvpn ip_address:199.119.112.24 openvpn.gateway_address:199.119.112.25 tags:production
leap node add couch1 services:couchdb ip_address:199.119.112.26 tags:production
leap compile
leap list
ls -l
exit
|