Map: Unterschied zwischen den Versionen

Aus Freifunk Köln, Bonn und Umgebung
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Zeile 31: Zeile 31:


== HopGlass Viewer (Frontend) ==
== HopGlass Viewer (Frontend) ==
=Dependencies=
npm
bower
grunt-cli
Sass (>= 3.2)
=Installing dependencies=
Install npm package-manager. On Debian-like systems run:
sudo apt-get install npm
On Mac you have to install only npm via brew and sass
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install node
sudo gem install sass
Execute these commands on your server as a normal user to prepare the dependencies:
git clone https://github.com/plumpudding/hopglass
cd hopglass
npm install
npm install grunt-cli
Building
Just run the following command from the hopglass directory:
node_modules/.bin/grunt
This will generate build/ containing all required files.

Version vom 21. Mai 2016, 16:01 Uhr

Voraussetzungen

Benötigte Software

1) ----

Du benötigst ausserdem:

  • eine private IPv4/IPv6 Adresse

Diese kannst du unter dem Artikel IP Netze selbst zuteilen, oder nachlesen, welches deine sind, wenn es jemand anderes dir schon zuteilte.

HopGlass-Server (Backend) aufsetzen

ArchLinux or Debian-based systems using systemd (preferred)

i.e. Debian Jessie or newer, Ubuntu 15.04 or newer

1) Run # wget https://raw.githubusercontent.com/plumpudding/hopglass-server/v0.1/scripts/bootstrap.sh; bash bootstrap.sh; rm bootstrap.sh

2) Review and edit the default configuration located at /etc/hopglass-server/default/config.json.

3) Start the HopGlass Server: # systemctl start hopglass-server@default

4) (Optional) Automatically start the HopGlass Server at boot: # systemctl enable hopglass-server@default

HopGlass Viewer (Frontend)

Dependencies

npm bower grunt-cli Sass (>= 3.2)

Installing dependencies

Install npm package-manager. On Debian-like systems run:

sudo apt-get install npm On Mac you have to install only npm via brew and sass

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew install node sudo gem install sass Execute these commands on your server as a normal user to prepare the dependencies:

git clone https://github.com/plumpudding/hopglass cd hopglass npm install npm install grunt-cli Building Just run the following command from the hopglass directory:

node_modules/.bin/grunt This will generate build/ containing all required files.