Skip to content
No description, website, or topics provided.
JavaScript HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
bin
public
views
.gitignore
.nconf.json.sample
README.md
ecosystem.config.js
gulpfile.js
package-lock.json
package.json
server.js
socket_collection.js
weather.js

README.md

MICAVIBE

This repository contains the source code for the MICAVIBE project's public website.

Development

So you'd like to build a webapp! The following instructions are for Mac or Linux users.

If you'd like to download MICAVIBE and run it yourself, can use git to get this project:

$ git clone https://github.com/micais2019/MICAVIBE.git

Then you'll need to install node.js.

After you have node.js and npm (which comes with node.js) installed, you can install project support packages:

$ cd MICAVIBE
$ npm install

And the pm2 process manager tool:

$ npm install -g pm2

And copy the sample configuration file, .nconf.json.sample to it's proper location.

$ cp .nconf.json.sample .nconf.json

You'll need to add Adafruit IO credentials for a user to .nconf.json in order to use MQTT and the /weather API.

For now, server.js is hard coded to the mica_ia Adafruit IO account.

Now that that setup is finished, you can start pm2 to run the server locally and run npm run watch to build client-side assets locally.

$ pm2 start ecosystem.config.js
$ npm run watch

And you should be up and running!

If you'd like to contribute your changes back to the project in this repository, contact abachman@mica.edu to get added as a contributor.

You can’t perform that action at this time.