Skip to content

Commit fa2a1e5

Browse files
authored
Merge pull request #34 from CESNET/devel
Release v0.4.0
2 parents a19fd90 + d3ec1d5 commit fa2a1e5

File tree

245 files changed

+1985
-4633
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

245 files changed

+1985
-4633
lines changed

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,3 @@
22
path = modules/Nemea-Dashboard
33
url = https://github.com/CESNET/Nemea-Dashboard
44
branch = liberouter-gui
5-
[submodule "modules/Nemea-Supervisor"]
6-
path = modules/Nemea-Supervisor
7-
url = https://github.com/CESNET/Nemea-Supervisor

.travis.yml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
sudo: required
2+
dist: trusty
3+
language: node_js
4+
node_js:
5+
- "8"
6+
python:
7+
- "3.4"
8+
- "3.5"
9+
10+
git:
11+
submodules: false
12+
depth : 1
13+
14+
addons:
15+
apt:
16+
sources:
17+
- ubuntu-toolchain-r-test
18+
packages:
19+
# nodejs >v4 compiler requirements
20+
- g++-4.8
21+
- openjdk-7-jdk
22+
23+
before_install:
24+
- sudo apt-get -y install python3-pip python-dev
25+
- sudo pip3 install -U setuptools
26+
- sudo pip3 install -U virtualenvwrapper
27+
- sudo apt-get -y install sqlite3
28+
- python3 -V
29+
- pip3 -V
30+
31+
before_script:
32+
- python3 bootstrap.py
33+
- npm install @angular/cli -g
34+
35+
script:
36+
# Frontend build procedure
37+
- cd $TRAVIS_BUILD_DIR/frontend
38+
- npm install
39+
# List will fail because of unmet peer dependencies from an outdated package which requires
40+
# lower version of a package that is actually installed in higher version
41+
- npm list || true
42+
- ng build --prod --bh="/" --aot=false
43+
# Backend build procedure
44+
- cd $TRAVIS_BUILD_DIR/backend
45+
- virtualenv venv -p python3
46+
- source venv/bin/activate
47+
- pip3 install -r requirements.txt
48+
- pip3 freeze
49+
- |
50+
echo "[api]
51+
debug = false
52+
secret_key = super-secret
53+
;host =
54+
port = 5555
55+
threaded = true
56+
version = 1.0
57+
modules = /modules
58+
ssl = false
59+
60+
[database]
61+
; possible values: sqlite, mysql, mongodb
62+
; sqlite: file must be specified, the server and port are ignored
63+
; mysql: server, port and database must be specified, user and password
64+
; are for authentication to the db
65+
; mongodb: server, port and database must be set
66+
provider = sqlite
67+
database = liberouter
68+
users = users
69+
70+
[sqlite]
71+
file = db.sq3
72+
" > config.ini
73+
# Run backend server and kill it after 5 seconds
74+
- cd $TRAVIS_BUILD_DIR
75+
- python3 backend &
76+
- t=$! && sleep 5 && kill $t

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
[![Build Status](https://travis-ci.org/CESNET/liberouter-gui.svg?branch=master)](https://travis-ci.org/CESNET/liberouter-gui)
12
![Liberouter Logo](http://dmon100.liberouter.org/img/lr_logo_2.png "Liberouter logo")
23
# Liberouter GUI
34

api/config-sample.ini

Lines changed: 0 additions & 30 deletions
This file was deleted.

api/liberouterapi/bootstrap.py

Lines changed: 0 additions & 127 deletions
This file was deleted.

api/liberouterapi/dbConnector.py

Lines changed: 0 additions & 144 deletions
This file was deleted.

0 commit comments

Comments
 (0)