Go to file
2017-02-22 15:11:22 +00:00
bin chaning ruby script name and updating accordingly in package.json script 2017-02-17 15:49:50 +00:00
cloudapi-graphql Bumping Dockerfile versions 2017-01-26 17:17:44 +00:00
design updating sketch file 2017-02-17 15:45:38 +00:00
docs Add CircleCI variables to documentation 2017-01-27 17:37:33 +00:00
frontend Fix vertical space around and under breadcrumb 2017-02-22 15:11:22 +00:00
nginx Upgrade nginx (autopilotpattern) to 1-6.3.0 2017-01-17 17:45:09 +00:00
spikes re-write forms with react-broadcast 2017-02-21 14:36:59 +00:00
ui Add consul node 2017-02-21 16:57:28 +00: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 Adding TODO not to script 2017-02-20 11:34:36 +00:00
CONTRIBUTING.md Introducing a contribution guide 2016-10-14 12:25:04 +01:00
docker-compose.yml Add docs service 2017-01-27 12:49:48 +00:00
licence.js Updating react-router and deps 2017-01-17 16:50:48 +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 re-write forms with react-broadcast 2017-02-21 14:36:59 +00:00
README.md Updating Readme with Git LFS tip 2017-02-20 11:18:55 +00:00
yarn.lock re-write forms with react-broadcast 2017-02-21 14:36:59 +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