1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 06:00:06 +02:00
Go to file
2017-10-03 14:49:59 +01:00
assets chore: rename to copilot 2017-09-14 16:28:45 +01:00
docker fix: no longer ignore successful status checks 2017-09-18 23:00:41 +01:00
packages fix(cp-frontend): dg list & create dg flow 2017-10-03 14:49:59 +01:00
scripts chore(my-joyent): Update from conventional-changelog-lint to commitlint 2017-09-08 11:13:03 +01:00
.dockerignore build: update config files to support containerpilot v3 2017-06-20 00:18:34 +01:00
.eslintrc style: update root lint rules 2017-05-31 20:17:12 +01:00
.gitignore fix: fix key gen 2017-09-08 16:22:24 +01:00
.licensesrc.json chore: initial lerna setup 2017-05-25 10:56:50 +01:00
.tern-project chore: initial lerna setup 2017-05-25 10:56:50 +01:00
.yarnclean feat: number input and mutations for restart, stop and start 2017-06-19 13:48:34 +01:00
.yarnrc chore: use yarn workspaces 2017-08-04 00:51:24 +01:00
CHANGELOG.md chore: rename to copilot 2017-09-14 16:28:45 +01:00
circle.yml test(cp-gql-mock-server): add logs to socket and http server lifecycle 2017-09-08 12:25:56 +01:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-09-14 16:27:19 +01:00
commitlint.config.js chore(my-joyent): Update from conventional-changelog-lint to commitlint 2017-09-08 11:13:03 +01:00
CONTRIBUTING.md docs: document commit types 2017-05-31 22:37:10 +01:00
dev-compose.yml bug: fix bootstrap process 2017-09-15 13:38:13 +01:00
docker-compose.yml fix: no longer ignore successful status checks 2017-09-18 23:00:41 +01:00
gen-keys.sh fix: fix key gen 2017-09-08 16:22:24 +01:00
GETTING_STARTED.md chore: rename to copilot 2017-09-14 16:28:45 +01:00
lerna.json chore: use yarn workspaces 2017-08-04 00:51:24 +01:00
LICENSE Change license to MPL2 2016-12-09 17:39:42 +00:00
local-compose.yml fix: no longer ignore successful status checks 2017-09-18 23:00:41 +01:00
package.json chore: rename to copilot 2017-09-14 16:28:45 +01:00
README.md bug: fix bootstrap process 2017-09-15 13:38:13 +01:00
setup.sh feat: gen cert script added 2017-09-05 17:44:53 +01:00
yarn.lock style: lint format 2017-09-18 15:20:29 +01:00

CoPilot Logo

CircleCI License: MPL 2.0 standard-readme compliant

Table of Contents

Requirements

Install

Set local environment variables

There is a setup.sh script that is used to create an environment (_env) file that will contain the keys you use to connect to Triton as well as the keys used to secure the CoPilot installation. In order for this to work correctly you will need to first load the Triton environment variables with the triton profile you plan to use. Below is an example of setting these environment variables using the triton CLI.

$ eval "$(triton env)"

Additionally, you will need a Certificate Authority certificate file, a server certificate, and a server key file. In the subsection below is an example of generating these files.

Generating Certificates to Secure CoPilot

To help simplify the creation of certificates there is a gen-keys.sh script. Run it and answer the prompts to generate all of the required keys to secure CoPilot.

$ ./gen-keys.sh

After the client certificate is installed, you may need to restart your browser.

Generate _env file from setup.sh

Execute the setup.sh script with the path to your key files.

$ ./setup.sh ~/path/to/TRITON_PRIVATE_KEY keys-test.com/ca.crt keys-test.com/server.key keys-test.com/server.crt

Usage

You have 3 options for where to run CoPilot. You can either run it using the published docker images on Triton or locally. The last option is to build the docker images and run docker containers from these locally built images.

Deploy and run CoPilot on Triton

Optionally use triton-docker

$ triton-compose up -d

Or use docker-compose with preconfigured Triton environment variables

$ docker-compose up -d

Start CoPilot using published docker images locally

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

Navigate to https://localhost to load the dashboard.

Build and run CoPilot locally for development

$ docker-compose -f dev-compose.yml up -d

Contribute

See the contribute file!

License

MPL-2.0