README.md 1.91 KB
Newer Older
Laurent Peuch's avatar
Laurent Peuch committed
1 2 3 4 5 6 7 8
# Neutrinet YunoHost App

This application is for Neutrinet members that have an Internet Cube configured has expected.

For now it does 2 things:

* fixed the situation where your certificate is outdated
* install neutrinet app list for YunoHost so you get updates for this app
Laurent Peuch's avatar
Laurent Peuch committed
9
* install labrique internet/internet cube app list for YunoHost so you get updates for this app
Laurent Peuch's avatar
Laurent Peuch committed
10 11 12 13 14 15

# Installation

Either put `https://github.com/neutrinet/neutrinet_ynh` in the administration interface at the bottom of the installation page or do this command in ssh:

    yunohost app install https://github.com/Neutrinet/neutrinet_ynh --verbose
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42


# Known and "normal" warning/error messages during installation

If you see those, don't worry, it's not a bug.

After `+ sudo virtualenv ve --system-site-packages`

    Compiling /tmp/pip-build-0Vk8QK/pexpect/pexpect/async.py ...
      File "/tmp/pip-build-0Vk8QK/pexpect/pexpect/async.py", line 16
        transport, pw = yield from asyncio.get_event_loop()\
                                 ^
    SyntaxError: invalid syntax

This is due to the fact that we don't use python3 but python2 and that doesn't change anything here.

After `Running command 'yunohost app setting vpnclient login_passphrase -v "xxxxxxxxxxxxxxxxxxxxx"' ... done`

    Failed to open /dev/tty: No such device or address
    Failed to open /dev/tty: No such device or address
    Failed to open /dev/tty: No such device or address
    Failed to open /dev/tty: No such device or address
    Failed to open /dev/tty: No such device or address
    Failed to open /dev/tty: No such device or address
    Failed to open /dev/tty: No such device or address

It doesn't prevent the script from running.
Thomasa Balthazar's avatar
Thomasa Balthazar committed
43 44 45 46 47

# Publish a new version of the app

- edit the [upgrade](scripts/upgrade) script to bump the version
- update the `revision` with the current `sha` on the `master` branch, update the `lastUpdate` field in the [apps.json](https://neutrinet.be/apps.json) file