Skip to content

Universite-Gustave-Eiffel/lasso

Repository files navigation

Lasso: urban soundscape cartography

Access Lasso's maps: https://universite-gustave-eiffel.github.io/lasso/

Edit projects data

Projects data are listed in the data folder. One folder for each project. Please read carefully the data folder documentation which provides examples.

Architecture

Serverless Lasso is a Single Page Web application with no server. The data are "compiled" by a node script which prepare everything the web client software needs.

Maplibre-gl Lasso client uses maplibre-gl at its core. The maps are all rendered through maplibre letting map editor a great flexibility in rendering.

Deploy

The project is deployed automatically on github pages.

If you need to deploy the project elsewhere, the easiest way to deploy Lasso cartography is to use docker.

cd docker
docker compose -p Lasso -f docker-compose.yml up

Development

with node

First you need node and npm. We recommend using nvm to handle node/npm versions. Once nvm is installed, set up the dev environnement:

nvm install 18
nvm use 18
npm i

Start the project:

npm run start

This command starts the dataprep and the client in watch mode. The project is automatically rebuilt/restarted at each file modification.

Once started the project is available at http://localhost:3000

docker

For enhancing the code, one can also use docker to run the stack locally:

 docker compose -p lasso up

The override open access to the client port if needs be to bypass the nginx configuration.

Internationalization

We use Transifex to ease translation of the interface.