Go to file
JUDIT GRESKOVITS 7d39da51ed Sort out font
2017-05-23 17:23:37 +01:00
bin fix COMPOSE_PROJECT_NAME 2017-03-21 16:45:32 +00:00
cloudapi-graphql run prettier 2017-04-27 23:11:12 +01:00
control-tower version 1.0.0 2017-05-15 19:26:40 +01:00
design Testing updating .sketch file in CI and Desktop Client (#362) 2017-03-09 10:13:03 +00:00
docker-compose-client integrate docker-compose-api into portal-data (#451) 2017-05-16 10:54:39 -05:00
docker-graphql empty build and push targets 2017-04-28 11:21:09 +01:00
docs setup staging deploy 2017-03-21 15:42:37 +00:00
frontend Update frontend to use updated schema 2017-05-23 17:23:37 +01:00
frontend-technical-prototype Rock and roll 2017-05-23 17:23:37 +01:00
nginx Upgrade nginx (autopilotpattern) to 1-6.3.0 2017-01-17 17:45:09 +00:00
portal-api Use graphi 2017-05-23 10:37:01 +01:00
portal-data integrate docker-compose-api into portal-data (#451) 2017-05-16 10:54:39 -05:00
spikes Update frontend to use updated schema 2017-05-23 17:23:37 +01:00
ui Sort out font 2017-05-23 17:23:37 +01:00
.gitattributes removing png for git attributes file 2017-02-09 11:11:49 +00:00
.gitignore docker-graphql initial commit 2017-04-27 22:48:00 +01: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 Remove precommit hooks 2017-05-15 19:26:40 +01:00
README.md Update README.md 2017-05-09 17:07:34 +01:00
yarn.lock switch between mock sets through location query 2017-03-22 17:06:27 +00:00

CircleCI License: MPL 2.0

Prototype 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.

Our Principles

We have designed this product with these principles in mind (to be completed).

Our Design Library

We use inVision craft for our design components, you can downoad this library here and submit proposed changes to our Sketch wireframes here.

Documentation

Our workshop meeting notes are kept in this Google Drive folder. Our meeting notes are kept in this Google Drive folder.

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