A mindmap type software
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
buttle 5e28f12d80 updates README 7 months ago
dist Added word cloud 3 years ago
public Added word cloud 3 years ago
src Added word cloud 3 years ago
.env.production Added Api server env value 3 years ago
.gitignore Removed /dist from .gitignore 3 years ago
COPYING Added COPYING 3 years ago
README.md updates README 7 months ago
babel.config.js Initial commit 3 years ago
package-lock.json updates README 7 months ago
package.json updates README 7 months ago


Sphere frontent

L'esfera has two parts.

  • The server. Written with the FastAPI python framework.
  • The frontend (this document). Written in Vuejs2

You will need a web server like nginx or apache2

Get the code

cd /var/www/
mkdir ./esfera
wget https://farga.exo.cat/buttle/sphere-frontend/archive/main.tar.gz
tar zxvf main.tar.gz --strip-components=1 -C esfera

Configure an nginx host

Edit /etc/hosts and add an entry to point to the esfera-server	esfera-server

Edit a new nginx hosts file

server {
    listen         80;
    server_name    my_domain.com;
    return         301 https://$server_name$request_uri;
server {
    listen 443 ssl;    
    server_name my_domain.com;

    ssl_certificate           /etc/letsencrypt/live/my_domain.com/fullchain.pem;
    ssl_certificate_key       /etc/letsencrypt/live/my_domain.com/privkey.pem;
    ssl_dhparam               /etc/letsencrypt/ssl-dhparams.pem;

    location / {
        root   /var/www/esfera/dist;
        index  index.html;
    location = /favicon.ico {
        alias /var/www/esfera/dist/favicon.ico;

    location /api/ {
        proxy_pass          http://esfera-server:5050/;
        proxy_set_header    Host    $host;
        proxy_set_header    X-Forwarded-For $remote_addr;
        proxy_set_header    X-Real-IP   $remote_addr;
        proxy_pass_header   server;        
    access_log /var/log/nginx/esfera.access.log;
    error_log /var/log/nginx/esfera.error.log notice;

Development installation

You will need node and npm installed

Get the code

git clone https://gitlab.com/la-loka/esfera/esfera-vue
git clone git@gitlab.com/la-loka/esfera/esfera-vue

Create .env.development to define the esfera api server


Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.