data-center-sensors

所属分类:其他
开发工具:CoffeeScript
文件大小:0KB
下载次数:0
上传日期:2016-02-05 08:32:45
上 传 者sh-1993
说明:  SLAC IT数据中心传感器,
(SLAC IT Data Center Sensors,)

文件列表:
.bowerrc (40, 2016-02-05)
.meteor/ (0, 2016-02-05)
.meteor/.finished-upgraders (368, 2016-02-05)
.meteor/.id (322, 2016-02-05)
.meteor/packages (482, 2016-02-05)
.meteor/platforms (15, 2016-02-05)
.meteor/release (15, 2016-02-05)
.meteor/versions (1563, 2016-02-05)
Vagrantfile (1708, 2016-02-05)
client/ (0, 2016-02-05)
client/app.coffee (176, 2016-02-05)
client/helpers.coffee (11749, 2016-02-05)
client/index.coffee (4294, 2016-02-05)
client/index.html (69, 2016-02-05)
client/lib/ (0, 2016-02-05)
client/lib/collections.coffee (52, 2016-02-05)
client/lib/d3.min.js (151125, 2016-02-05)
client/lib/heatmap.min.js (9101, 2016-02-05)
client/sensors.coffee (0, 2016-02-05)
client/templates/ (0, 2016-02-05)
client/templates/heatmap.html (81, 2016-02-05)
client/templates/sensor_list.html (594, 2016-02-05)
client/templates/sensor_table.html (150, 2016-02-05)
client/templates/sensor_timechart.html (265, 2016-02-05)
lib/ (0, 2016-02-05)
lib/collections.coffee (99, 2016-02-05)
public/ (0, 2016-02-05)
public/images/ (0, 2016-02-05)
public/images/2nd-floor-plan.svg (3134307, 2016-02-05)
server/ (0, 2016-02-05)
server/main.coffee (133, 2016-02-05)

# data-center-sensors This is a simple frontend providing heatmaps of our data center. It provides a simple REST API plus a reactive visualisation of the numerous sensors we have around our data center building. ### Vagrant Box for data-center-sensors To provide a private development environment, a Vagrantfile is provided that will spin up a virtual machine on your development machine and provide a complete environment from which to test your code. Specifically, the Vagrantfile will create a `synced_folder` that provides a shared file system between your host machine and the vagrant vm. Any changes you make locally on this folder will be reflected on the vm. We make use of this by by mounting the data-center-sensor repository (this) onto the vagrant vm and running meteor off it. Instructions: 1. Install Vagrant as per [http://www.vagrantup.com/downloads] 2. Install Virtual Box [https://www.virtualbox.org/wiki/Downloads] 3. Git clone this repository using [github desktop](https://desktop.github.com/) or command line `git clone` with the repo path `https://github.com/SLACNationalAcceleratorLaboratory/data-center-sensors`. You may also clone via `git@github.com:SLACNationalAcceleratorLaboratory/data-center-sensors.git` which is recommended if using ssh keys. 4. Import the vm image required for this vagrant box; run the command `vagrant box add lamudi/centos-7.0` 5. `cd` into the directory that was just created from the previous step. 6. run `vagrant up` 7. Run the meteor app with `vagrant ssh -c "cd /vagrant && /usr/local/bin/meteor --verbose"`; use ctrl-c to stop the meteor service. 8. open a web browser to `http://localhost:3000` 9. Edit code on your local machine and it should automatically be updated at [http://localhost:3000] 10. Shutdown the vagrant box using `vagrant destroy` If you need to ssh into the vagrant box, you may do so via `vagrant ssh`; we do this in step 5.

近期下载者

相关文件


收藏者