From e53e113dcde3e3686095c3661307efccc5c7e64e Mon Sep 17 00:00:00 2001 From: elijah Date: Wed, 18 Feb 2015 23:44:14 -0800 Subject: initial conversation from leap_doc and leap_website --- pages/docs/platform/tutorials/quick-start.md | 82 ++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 pages/docs/platform/tutorials/quick-start.md (limited to 'pages/docs/platform/tutorials/quick-start.md') diff --git a/pages/docs/platform/tutorials/quick-start.md b/pages/docs/platform/tutorials/quick-start.md new file mode 100644 index 0000000..132fd32 --- /dev/null +++ b/pages/docs/platform/tutorials/quick-start.md @@ -0,0 +1,82 @@ +@title = 'LEAP Platform quick start tutorial' +@nav_title = 'Quick Start' +@summary = 'Getting leap platform up, the quick way' + + +Testing Leap platform with Vagrant +================================== + +There are two ways how you can setup leap platform +using vagrant. + +Use the leap_cli vagrant integration +------------------------------------ + +Install leap_cli and leap_platform on your host, +configure a provider from scratch and use the +`leap local` commands to manage your vagrant node(s). + +See https://leap.se/en/docs/platform/development how to use +the leap_cli vagrant integration and +https://leap.se/en/docs/platform/tutorials/single-node how +to setup a single node mail server. + + +Using the Vagrantfile provided by Leap Platform +----------------------------------------------- + +This is by far the easiest way. +It will install a single node mail Server in the default +configuration with one single command. + +Clone the 0.6.1 platform branch with + + git clone -b 0.6.1 https://github.com/leapcode/leap_platform.git + +Start the vagrant box with + + cd leap_platform + vagrant up + +Follow the instructions how to configure your `/etc/hosts` +in order to use the provider! + +You can login via ssh with the systemuser `vagrant` and the same password. + +There are 2 users preconfigured: + +. `testuser` with pw `hallo123` +. `testadmin` with pw `hallo123` + +Testing your provider +===================== + +Using the bitmask client +------------------------ + +Download the provider ca: + + wget --no-check-certificate https://example.org/ca.crt -O /tmp/ca.crt + +Start bitmask: + + bitmask --ca-cert-file /tmp/ca.crt + + + +Recieving Mail +-------------- + +Use i.e. swaks to send a testmail + + swaks -f noone@example.org -t testuser@example.org -s example.org + +and use your favorite mail client to examine your inbox. +You can also use [offlineimap](http://offlineimap.org/) to fetch mails: + + offlineimap -c vagrant/.offlineimaprc.example.org + +WARNING: Use offlineimap *only* for testing/debugging, +because it will save the mails *decrypted* locally to +your disk ! + -- cgit v1.2.3