**** NO ACTIVE DEVELOPMENT: REPO IS ARCHIVED ***
A simple calculator for estimating monthly cost of using CenturyLink Cloud products and services. A built version of this tool is viewable here:
This project uses:
bundle install
to install Ruby dependencies.npm install
to install Node dependencies.middleman server
to run dev server at http://localhost:4567.grunt dev
to watch the front-end source files and recompile as necessary.To update prices (each data center the service is offered), edit the pricing JSON files in
CenturyLinkCloud/PriceEstimator/public/prices
and CenturyLinkCloud/PublicPlatform/public/prices
There are multiple pricing JSON files: baseline.json
, one for each data center (e.g., gb3.json
, and default.json
. The default.json
file is used if there is not a file for a particular data center.
Pricing changes must be made to all of these files in both repositories.
The file data-center-prices.json feeds the select dropdown for the data centers as well as specifies which pricing JSON file to use.
To update Managed Services, edit: https://github.com/CenturyLinkCloud/PriceEstimator/blob/master/source/js/app/templates/addManagedApp.haml
grunt
. This may be unecessary if you've been running grunt dev
; grunt
does the same stuff without the watching.middleman build
to output compiled HTML, CSS, JS to the build
directory