This repository contains the working tree of The BeeBit Website, including the BeeBit Hive and API endpoints for the IoT component.
Please see the IoT repository for the C++ component running on the devices.
The framework for the website is hosted using NodeJS, specifically version 12.x
To get the latest version installed in debian, do the following;
# Using Debian, as root
curl -sL https://deb.nodesource.com/setup_12.x | bash -
apt-get install -y nodejs
Once in the root directory, run:
npm install
To install all dependancies. Next run:
npm start
To run as normal.
Anything that is pushed to the master branch of this repository is automagically deployed to https://app.beebithive.com
Therefore make sure your changes run! Only basic checks are made, attempting to run npm start
only.
Currently to simulate data from the raspberry pi you can run test.py in the test folder.