Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

canonical/manager.assets.ubuntu.com

Repository files navigation

Archived

The domain manager.assets.ubuntu.com is now redirected by the assets.ubuntu.com service to assets.ubuntu.com/manager and the manager is served entirely from that application.

This app is no longer used.


Assets manager

CircleCI build status Code coverage

An admin web frontend for managing the assets-server.

Local development

First, you need to know the URL of instance of the assets server you wish to connect to, and an authorisation key for connecting to it.

Running the server

The simplest way to run the site locally is to first install Docker (on Linux you may need to add your user to the docker group), and then use the ./run script.

The first time you run it, the script will ask you to choose a URL for the server, and an authorisation key. E.g.:

$ ./run

Set the following variables in your .env.local, you might need to ask around for a token.

ASSET_SERVER_URL=<url>
ASSET_SERVER_TOKEN=<token>

Once the containers are setup, you can visit http://127.0.0.1:8018 in your browser to see the web frontend for controlling the assets service.

Building CSS

For working on Sass files, you may want to dynamically watch for changes to rebuild the CSS whenever something changes.

To setup the watcher, open a new terminal window and run:

./run watch

Deploy

You can find the deployment config in the deploy folder.