Map
Version vom 21. Mai 2016, 18:49 Uhr von K3v1n (Diskussion | Beiträge)
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
1) /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 2) brew install node 3) sudo gem install sass
Execute these commands on your server as a normal user to prepare the dependencies:
1) git clone https://github.com/plumpudding/hopglass 2) cd hopglass 3) npm install 4) 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.