<commit_before># sdc-portal

A user-centric HTTP UI for Joyent's SmartDataCenter.

## Features

* Multi-datacenter and JPC aware.
* Get details about VMs in different SDC and JPC regions.
* Perform actions on existing VMs (e.g. start, stop, reboot).
* OAuth can be used for sign-in and mapping to SDC and JPC users.

## Screenshots

![](https://ops.faithlife.com/wp-content/uploads/2015/04/Screen-Shot-2015-04-20-at-3.23.29-PM.png "Developer Portal")

## Development

To run sdc-portal:

    git clone <EMAIL>:Faithlife/sdc-portal.git
    cd sdc-portal
    cp .sdcportalrc ~/.sdcportalrc
    npm install
    grunt dev

## Configuration file

The configuration file `~/.sdcportalrc` needs to be created before sdc-portal can run. An example `.sdcportalrc` file configured for use with CoaL is in the root of this repository. OAuth configuration, data center details, and user to ssh key mappings need to be added or modified for your particular setup.

## Contributing

Bug reports and feature requests should be submitted here as issues on GitHub https://github.com/Faithlife/sdc-portal/issues. Code contributions should be made via pull requests.

Coding guidelines loosely modeled after [Joyent SDC's](https://github.com/joyent/sdc#contributing):

* JavaScript is checked with [jsstyle](https://github.com/davepacheco/jsstyle).
* Master should be first-customer-ship (FCS) quality at all times.
* `npm test` should always be successful
* Lint is checked with [javascriptlint](https://github.com/davepacheco/javascriptlint)
* Commits should have matching tests if possible
* Prefer dependencies that match the stack used with [SDC](https://github.com/joyent/sdc)<commit_msg>Add updated screenshots, features, and development information<commit_after># sdc-portal

A user-centric HTTP UI for Joyent's SmartDataCenter.

## Features

* Multi-datacenter and JPC aware.
* Get details about VMs in different SDC and JPC regions.
* Perform actions on existing VMs (e.g. start, stop, reboot).
* Pluggable authentication providers, including "AdminParty" for testing.
* OAuth can be used for sign-in and mapping to SDC and JPC users.
* Search for VMs
* Manage user details

## Screenshots

![Developer Portal](https://ops.faithlife.com/wp-content/uploads/2015/04/Screen-Shot-2015-04-26-at-11.19.18-AM.png "Developer Portal")

![Instance Search](https://ops.faithlife.com/wp-content/uploads/2015/04/Screen-Shot-2015-04-26-at-12.38.26-PM.png "Instance Search")

![Action confirmation](https://ops.faithlife.com/wp-content/uploads/2015/04/Screen-Shot-2015-04-26-at-12.37.27-PM.png "Action Confirmation")

## Development

To run sdc-portal:

    git clone <EMAIL>:Faithlife/sdc-portal.git
    cd sdc-portal
    cp .sdcportalrc.example ~/.sdcportalrc
    npm install
    grunt dev

## Configuration file

The configuration file `~/.sdcportalrc` needs to be created before sdc-portal can run. An example `.sdcportalrc` file configured for use with CoaL is in the root of this repository. OAuth configuration, data center details, and user to ssh key mappings need to be added or modified for your particular setup.

## Contributing

Bug reports and feature requests should be submitted here as issues on GitHub https://github.com/Faithlife/sdc-portal/issues. Code contributions should be made via pull requests.

Coding guidelines loosely modeled after [Joyent SDC's](https://github.com/joyent/sdc#contributing):

* JavaScript is checked with [jsstyle](https://github.com/davepacheco/jsstyle).
* Master should be first-customer-ship (FCS) quality at all times.
* `npm test` should always be successful
* Lint is checked with [javascriptlint](https://github.com/davepacheco/javascriptlint)
* Commits should have matching tests if possible
* Prefer dependencies that match the stack used with [SDC](https://github.com/joyent/sdc)
{'fraction_non_alphanumeric': 0.0991345397324941, 'fraction_numerical': 0.02071859428271702, 'mean_word_length': 4.402266288951841, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 14, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '691751', 'n_tokens_mistral': 1234, 'n_tokens_neox': 1153, 'n_words': 403}