diff options
author | elijah <elijah@riseup.net> | 2014-07-21 02:17:06 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-07-21 02:17:06 -0700 |
commit | 780e7f0d882a22503f9ce7caab0a2e969e8529e6 (patch) | |
tree | ba1f36532a7e6f471dc1007728da210bf5919cfc /pages/install | |
parent | a91bb680740c80eac5d19e61dc3c16e10b78b2c0 (diff) |
initial draft content
Diffstat (limited to 'pages/install')
-rw-r--r-- | pages/install/android/en.haml | 42 | ||||
-rw-r--r-- | pages/install/en.haml | 38 | ||||
-rw-r--r-- | pages/install/linux/_notice.haml | 5 | ||||
-rw-r--r-- | pages/install/linux/_via_packages.html.haml | 54 | ||||
-rw-r--r-- | pages/install/linux/en.md | 61 | ||||
-rw-r--r-- | pages/install/mac/en.md | 16 | ||||
-rw-r--r-- | pages/install/windows/en.haml | 19 |
7 files changed, 235 insertions, 0 deletions
diff --git a/pages/install/android/en.haml b/pages/install/android/en.haml new file mode 100644 index 0000000..d205ec5 --- /dev/null +++ b/pages/install/android/en.haml @@ -0,0 +1,42 @@ +- @title = "Bitmask for Android" +- @nav_title = "Android" + +:javascript + $(document).ready(function() { + if (navigator.userAgent.toLowerCase().indexOf("android") > -1) { + $('.non-android').hide(); + } + }); + +.row + .col-sm-8.col-sm-offset-2 + .p.alert.alert-info + %i.fa.fa-envelope + <b>NOTE:</b> Bitmask for Android does not yet support encrypted email. + +%h2 Install from Google Play + +You can search for "Bitmask" in the Google Play store or use this link: + +.p.android + = render({:partial => 'common/download_button'}, {:link => 'https://play.google.com/store/apps/details?id=se.leap.bitmaskclient', :text => 'Install for Android'}) + +.p.non-android + %a(href='https://play.google.com/store/apps/details?id=se.leap.bitmaskclient' alt='download') + %img(src='/assets/qr/market-se.leap.bitmaskclient.png') + +%h2 Download app + +%p Alternately, you can download the Bitmask app directly from this website. You will need to enabled the option <b>Settings > Security > Unknown Sources</b> on your device for this method to work. + +.p.android + = render({:partial => 'common/download_button'}, {:link => '/client/android/Bitmask-Android-latest.apk', :text => 'Download for Android'}) + +.p.non-android + %a(href='/client/android/Bitmask-Android-latest.apk' alt='download') + %img(src='/assets/qr/dl.bitmask.net-bitmask-android-latest.png') + +%h2 Download other versions + +%p + If you want to install an old version of Bitmask, you can <a href="https://dl.bitmask.net/client/android/">browse all releases</a>. diff --git a/pages/install/en.haml b/pages/install/en.haml new file mode 100644 index 0000000..aa4a44f --- /dev/null +++ b/pages/install/en.haml @@ -0,0 +1,38 @@ +- @title = 'Install Bitmask' +- @nav_title = 'Install' + +.row + .col-sm-8.col-sm-offset-2 + .p.alert.alert-danger + %i.fa.fa-warning + = t :warning + +.row.bm-front-buttons + .col-sm-3.col-xs-6 + %a.btn.btn-default{:href=>"android"} + %i.fa.fa-android.fa-4x + %br + %b Android + %br + %small 4.0 and above + .col-sm-3.col-xs-6 + %a.btn.btn-default{:href=>"linux"} + %i.fa.fa-linux.fa-4x + %br + %b GNU/Linux + %br + %small Debian, Ubuntu, Mint + .col-sm-3.col-xs-6 + %a.btn.btn-default.disabled{:href=>"mac"} + %i.fa.fa-apple.fa-4x + %br + %b Mac OS + %br + %small Coming very soon... + .col-sm-3.col-xs-6 + %a.btn.btn-default.disabled{:href=>"windows"} + %i.fa.fa-windows.fa-4x + %br + %b Windows + %br + %small Coming soon... diff --git a/pages/install/linux/_notice.haml b/pages/install/linux/_notice.haml new file mode 100644 index 0000000..314b1c7 --- /dev/null +++ b/pages/install/linux/_notice.haml @@ -0,0 +1,5 @@ +.row + .col-sm-8.col-sm-offset-2 + .p.alert.alert-info + %i.fa.fa-envelope + <b>NOTE:</b> Encrypted email support in Bitmask is still experimental. diff --git a/pages/install/linux/_via_packages.html.haml b/pages/install/linux/_via_packages.html.haml new file mode 100644 index 0000000..23243a4 --- /dev/null +++ b/pages/install/linux/_via_packages.html.haml @@ -0,0 +1,54 @@ +- if @locals[:os] == 'debian' + + %p.b + To install + + %pre + - if @locals[:distro] == 'wheezy' + :preserve + sudo -s + echo "deb http://deb.bitmask.net/debian #{@locals[:distro]} main" > /etc/apt/sources.list.d/bitmask.list + echo "deb http://http.debian.net/debian wheezy-backports main" >> /etc/apt/sources.list.d/bitmask.list + wget -O- https://dl.bitmask.net/apt.key | apt-key add - + apt-get update + apt-get install bitmask leap-keyring + - else + :preserve + sudo -s + echo "deb http://deb.bitmask.net/debian #{@locals[:distro]} main" > /etc/apt/sources.list.d/bitmask.list + wget -O- https://dl.bitmask.net/apt.key | apt-key add - + apt-get update + apt-get install bitmask leap-keyring + + %p.b + To remove + + %pre + :preserve + sudo -s + apt-get remove bitmask leap-keyring + apt-key del 0x1E34A1828E207901 + rm /etc/apt/sources.list.d/bitmask.list + +- else + + %p.b + To install + + %pre + :preserve + sudo -s + add-apt-repository "deb http://deb.bitmask.net/debian #{@locals[:distro]} main" + wget -O- https://dl.bitmask.net/apt.key | apt-key add - + apt-get update + apt-get install bitmask leap-keyring + + %p.b + To remove + + %pre + :preserve + sudo -s + apt-get remove bitmask leap-keyring + apt-key del 0x1E34A1828E207901 + add-apt-repository --remove "deb http://deb.bitmask.net/debian #{@locals[:distro]} main" diff --git a/pages/install/linux/en.md b/pages/install/linux/en.md new file mode 100644 index 0000000..7efe5f7 --- /dev/null +++ b/pages/install/linux/en.md @@ -0,0 +1,61 @@ +- @title = 'Bitmask for Linux' +- @nav_title = 'Linux' + +<%= render :partial => 'notice' %> + +## Install as packages + +This is the recommended method of installing Bitmask. If installed as a package, Bitmask will run faster, be better integrated in the system, and will be kept up to date. + +### Ubuntu 14.04 (Trusty Tahr) + +<%= render({:partial => 'via_packages'}, {:distro => 'trusty'}) %> + +### Ubuntu 13.10 (Saucy Salamander) + +<%= render({:partial => 'via_packages'}, {:distro => 'saucy'}) %> + +### Debian 7.0 (Wheezy) + +Note: for wheezy, these instructions will enable `wheezy-backports`, causing your computer to install more up-to-date versions of many packages. For more information, see the [Debian backports page](https://wiki.debian.org/Backports). + +<%= render({:partial => 'via_packages'}, {:distro => 'wheezy', :os => 'debian'}) %> + +### Debian 8.0 (Jessie) + +<%= render({:partial => 'via_packages'}, {:distro => 'jessie', :os => 'debian'}) %> + +## Install stand-alone bundle + +Alternately, you can run Bitmask from a stand alone bundle. This is useful if want to run Bitmask from a thumb drive. The bundle should work on most recent Linux distributions that are derived from Debian (e.g. Ubuntu, Mint, etc). + +There are several disadvantages to the stand-alone bundle: + +* Installing via the bundle takes up more space. +* The Bitmask app will be less well integrated with the desktop environment. +* Running from the bundle is slower to start than via packages. +* You will not get automatic updates running the stand alone bundle. + +How do you tell if you running a 32 bit or 64 bit kernel? Run the following command: + + uname -m + +If the result is: + +* `x86_64`, you have **64 bit** +* `i686`, you have **32 bit** +* `i386`, you have **32 bit** + +### 32 bit kernel + +<%= render({:partial => 'common/download_button'}, {:link => '/client/linux/Bitmask-linux32-latest.tar.bz2', :text => 'Download 32 bit'}) %> + +### 64 bit kernel + +<%= render({:partial => 'common/download_button'}, {:link => '/client/linux/Bitmask-linux64-latest.tar.bz2', :text => 'Download 64 bit'}) %> + +### Other options + +If you want to install an old or development version of Bitmask, you can [browse all releases.](/client/linux/) + +<%= render({:partial => 'common/email'}) %> diff --git a/pages/install/mac/en.md b/pages/install/mac/en.md new file mode 100644 index 0000000..4fd0f9c --- /dev/null +++ b/pages/install/mac/en.md @@ -0,0 +1,16 @@ +- @title = "Bitmask for Mac OS" +- @nav_title = 'Mac OS' + +## Download latest version + +Bitmask requires Mountain Lion or newer. + +<%= render({:partial => 'common/download_button'}, {:link => '/client/osx/Bitmask-OSX-latest.dmg', :text => 'Download for Mac OS'}) %> + +Once the file `Bitmask-OSX-latest.dmg` has been saved to your computer, mount the `.dmg` image and drag the `Bitmask` icon to your `Applications` folder. + +## Download other versions + +If you want to install an old or experimental version of Bitmask, you can [browse all releases.](/client/osx/) + +<%= render({:partial => 'common/email'}) %> diff --git a/pages/install/windows/en.haml b/pages/install/windows/en.haml new file mode 100644 index 0000000..860285c --- /dev/null +++ b/pages/install/windows/en.haml @@ -0,0 +1,19 @@ +- @title = "Bitmask for Windows" + +%h1 Bitmask for Windows + +.row + .col-sm-8.col-sm-offset-2 + .p.alert.alert-danger + %i.fa.fa-warning + <b>WARNING:</b> Currently, the Windows build is very buggy and is not officially supported. If you know Windows programming, we could <a href="https://leap.se/get-involved">use your help</a>. + +%h2 Download latest version + += render({:partial => 'common/download_button'}, {:link => '/client/windows/Bitmask-win32-latest.zip', :text => 'Download for Windows'}) + +%h2 Download other versions + +%p If you want to install an old version of Bitmask, you can <a href="/client/windows/">browse all releases</a>. + += render({:partial => 'common/email'}) |