Skip to content

Source for the Linode Developers Site (API v4 Docs)

License

mendsley/linode-api-docs

Repository files navigation

Manager Build Status Coverage Status

This is the new Linode Manager. It provides a web interface for managing your Linode account. Currently this software is pre-alpha and won't be released for a while. Read the blog post.

The following buzzwords are involved in this project:

Setup

git clone https://github.com/Linode/manager.git cd manager node --version # should be 5.x or better npm install 

Currently the codebase is hardcoded to point to our alpha environment. It communicates with Linode via Linode API 4. You'll need to register an OAuth client in the alpha environment, then create a file at src/secrets.js with your client ID and client secret set appropriately:

export const clientId = "change me"; export const clientSecret = "change me"; 

Development

Run:

npm start 

to start the development server. Connect to localhost:3000 to try it out. Most of the changes you make will be applied on the fly, but you may occasionally find that you have to restart it.

While running the manager in development mode, you may press Ctrl+H to view the redux dev tools to track the state of the application, and Ctrl+Q to move them around the screen if necessary.

Tests

To run tests:

npm test 

To automatically re-run tests when you make changes:

npm run test:watch 

Our tests live in test/**.spec.js. They're run with Mocha and do assertions with Chai. We're aiming for as close to 100% test coverage as possible, but we're still figuring out what patterns to use for testing in this project.

Contributing

Come chat with us in #linode-next on irc.oftc.net if you're interested in helping out with this. We'd love to have community input on how the new manager takes shape. This is your chance to help build the features you need into it! We'll take pull requests in the usual way. We're still learning about the technologies in use here ourselves, so bear with us as we figure out the right patterns - some large scale refactorings may be in order.

License

The Linode Manager's code is distributed under the terms of the BSD 3-clause license. The assets are not licensed for any purpose without prior written approval from Linode, unless otherwise noted.

About

Source for the Linode Developers Site (API v4 Docs)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 94.1%
  • CSS 5.5%
  • Other 0.4%