Arborator / arborator-frontend

VueJs based user interface for Arborator-flask
GNU Affero General Public License v3.0
11 stars 5 forks source link

arborator (arborator-frontend)

Here is the running application: https://arboratorgrew.elizia.net/

Don't hesitate to create an account to try it out.

Documentation

Arborator-Grew's documentation is available here: https://arborator.github.io/arborator-documentation/#/

Important external docs

Install

We use docker to run the application. So you need to install docker on your machine. Here the install process on ubuntu

1. Install Docker and Docker Compose

sudo apt-get update
sudo apt-get install docker.io
sudo systemctl start docker
sudo systemctl enable docker
sudo apt-get install docker-compose

2. run container with docker-compose (--build is useful the first time of running it, and each time after a change of config inside the Dockerfile)

docker-compose up --build

The configuration do the following important things :

Auto Completion

You will need to install the nodes_modules locally if you want your code editor to have insights of the codebase for auto completion. So you need a working and compatible version of NPM (link here). To do so, we highly recommend to install it through NVM. Here the install process on ubuntu

For the Windows users, you have to use WSL1 Windows Subsystem for Linux

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash

export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm

source ~/.bashrc # reload bashrc

nvm install 16.14.2
nvm alias default 16.14.2

WE HIGHLY RECOMMEND TO USE THE VERSION 16.14.2 !!

Deploy a New Version on prod

Connect as Arborator (ssh arborator@elixxxx.xx) (ask sysadmin for the correct url), then:

cd arborator-frontend
git pull origin master
npm run buildProd

Local Development

Install the dependencies

npm install

Start the app in development mode (hot-code reloading, error reporting, etc.)

npm run start

Customize the configuration

See Configuring quasar.conf.js.