1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-01 07:30:07 +02:00
Go to file
Sérgio Ramos 6a994e05f6 Css linting (#66)
* creating css .stylelintrc file

(cherry picked from commit df0a573666151fb522cb203f82a7a6a979fc33cc)

* updating lintfile

(cherry picked from commit 623ad22d69566a912988239c05d2f803e735362f)

* ignore base bootstrap styles

(cherry picked from commit 0ea94926a004367a67983b08a8ea47c974ef6e49)

* Working on making css inline with css linting

(cherry picked from commit 259fdfcaf9ae280e664471c7d5278214d991168e)

* removing generic class names and nesting for clear names without nesting

(cherry picked from commit d0427c2c09771df049ed9ab4e7b5d2f2076106fd)

* making components compatable with new css lint

(cherry picked from commit b147f157c3b9b39708a750f281d8278211454137)

* updating csslint file

(cherry picked from commit 53b0480476b6e5c4d94763baeaef7d33e9c2342d)

* adding alphabetical ordering to stylelint and updating css files with this

(cherry picked from commit a6b7860efa01e673df20546bb5830587eeb140d6)

* integrate stylelint with webpack

this way we can integrate postcss plugins

# Conflicts:
#	ui/yarn.lock

* exit process with 1, when stylelint finds issues

* listen to unhandled rejection from stylelint

* use stylelintignore

* fix stylelint raised issues
2016-11-02 17:34:08 +00:00
bin Make running the stack work locally (#55) 2016-11-01 12:13:47 +00:00
cloudapi-graphql Adding nginx as a service to load balance ui 2016-11-02 16:13:15 +00:00
frontend containerpilot: updating names of services 2016-11-01 16:17:49 +00:00
nginx Adding nginx as a service to load balance ui 2016-11-02 16:13:15 +00:00
spikes css-modules & aphrodite examples 2016-10-19 15:04:20 +01:00
ui Css linting (#66) 2016-11-02 17:34:08 +00:00
.gitignore make: Adding test-ci make task 2016-10-31 12:02:32 +00:00
circle.yml circleci: fix broken yarn install 2016-11-02 16:45:57 +00:00
CONTRIBUTING.md Introducing a contribution guide 2016-10-14 12:25:04 +01:00
docker-compose.yml Adding nginx as a service to load balance ui 2016-11-02 16:13:15 +00:00
local-compose.yml Adding nginx as a service to load balance ui 2016-11-02 16:13:15 +00:00
Makefile make: Fixing issue with finding changed files 2016-11-01 12:40:22 +00:00
package.json tests: Makefile is now the main truth, away from npm 2016-10-27 16:15:44 +01:00
README.md Make running the stack work locally (#55) 2016-11-01 12:13:47 +00:00
yarn.lock tests: Makefile is now the main truth, away from npm 2016-10-27 16:15:44 +01:00

Joyent Dashboard

Setup

./bin/setup

Installation

To run the stack locally:

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

And then navigate to https://localhost:8000.

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.

make || make install

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

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.

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

cloudapi-graphql

An implementation of the Joyent CloudAPI in GraphQL.

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.

ui

Code for the reusable UI framework.

spikes

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