Go to file
2017-04-06 16:12:59 +01:00
bin fix COMPOSE_PROJECT_NAME 2017-03-21 16:45:32 +00:00
cloudapi-graphql setup staging deploy 2017-03-21 15:42:37 +00:00
design Testing updating .sketch file in CI and Desktop Client (#362) 2017-03-09 10:13:03 +00:00
docs setup staging deploy 2017-03-21 15:42:37 +00:00
frontend Generate and add complex services data for topology 2017-04-06 16:12:59 +01:00
nginx Upgrade nginx (autopilotpattern) to 1-6.3.0 2017-01-17 17:45:09 +00:00
spikes Generate and add complex services data for topology 2017-04-06 16:12:59 +01:00
ui Generate and add complex services data for topology 2017-04-06 16:12:59 +01:00
.gitattributes removing png for git attributes file 2017-02-09 11:11:49 +00:00
.gitignore upgrade frontend to styled-components 2016-12-12 10:56:48 +00:00
circle.yml release to staging based on tag 2017-04-05 22:26:48 +02:00
CONTRIBUTING.md Introducing a contribution guide 2016-10-14 12:25:04 +01:00
docker-compose.yml add branch to cns.service name 2017-03-21 18:25:59 +00:00
licence.js convert commonjs to es2015 modules (fixes #234) 2017-02-23 15:09:27 +00:00
LICENSE Change license to MPL2 2016-12-09 17:39:42 +00:00
local-compose.yml Add docs service 2017-01-27 12:49:48 +00:00
Makefile Adding licence checker 2017-01-17 16:50:48 +00:00
package.json switch between mock sets through location query 2017-03-22 17:06:27 +00:00
README.md Updating Readme with Git LFS tip 2017-02-20 11:18:55 +00:00
yarn.lock switch between mock sets through location query 2017-03-22 17:06:27 +00:00

CircleCI License: MPL 2.0

Protype Triton Portal

This is a prototype project intended to explore some ideas that might contribute to new capabilities and a new user experience for managing applications on Joyent's Triton.

This is not intended for general use and is completely unsupported.

Development

If you would like to contribute to the project, the recommended way to setup is to insure that you have docker installed, and optionally have a triton account and profile setup using the triton tool.

Currently requires yarn for installing dependencies, as well as docker and docker-compose are installed correctly, this can be done by running make, make continues without any errors, then you are good to go. node-triton is also needed if deployment to Triton is required.

make && make install 

Then to run each individual component locally (subject to change).

Setup

make

Run services

To run the stack locally:

docker-compose -f local-compose.yml up -d

This will run the front-end at http://127.0.0.1:8000, the UI framework at http://127.0.0.1:8001,

Project Management

This project is using Github Projects for organisation and development of the Joyent Dashboard.

Repository Layout

Currently we are using this repository as a monolithic catch-all for all project communication, development and designs. We will also include multiple PoC's of various bits of functionality from UI's prototypes to API development.

.
├── cloudapi-graphql
├── docs
├── frontend
├── nginx
├── ui
└── spikes

cloudapi-graphql

An implementation of the Joyent CloudAPI in GraphQL.

Docs

Documentation about the project, mainly focused on information for the technical runnings of this project. Can be view online at the documentation website

frontend

The client side code with a dev-server, this also includes the production server for the meantime, however we are looking at moving towards a deployment of the build artifacts to manta, and another server to host these assets.

nginx

Nginx will be sitting in-front of the ui service, allowing the ui to scale out.

ui

Code for the reusable UI framework.

spikes

Implementation examples from spikes, this directory is experimental and is likely broken.

Git LFS

  • We are using Git LFS to track large files, such as design files in Sketch.
  • Make sure you have this downloaded locally brew install git-lfs

Helpful tips

  • If there is an error cloning to a new machine, or there is an error cloning in the Circle CI process run git lfs push origin master --all from a machine that has it already checked out.

Sketch Pre Commit

A pre-commit hook has been added to generate a PNG shot of each .sketch file "page".

To use, make sure the following are installed:

Then add following to your .git/config

[diff "sketchtool"]
    textconv = "sketchtool dump"
    cachetextconv = true