Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.19 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.19 KB

SleeGR

SleeGr is a webserver for storing, processing and showing fitnessdata collected by the SleeGr-smartphoneapp.

Getting Started:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo "deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
sudo apt-get update
sudo apt-get install -y mongodb-org
sudo apt-get install matplotlib python3 python3-pip
sudo apt-get build-dep python-matplotlib
sudo service mongod start
git clone [email protected]:skorkmazISS/iot-final.git
cd iot-final
pip3 install -r requirements.txt

If you use another OS, you need to install mathplotlib, mongoDB, numpy and skipy. the required Python packages are listed in requirements.txt.

If you have problems with tha installation, you may want use Anacondapython. This is a framework (for Windows an other OS) that provides various packages especially for datascienc.

Starting the server

to start the server, you just need to go into

/path/to/SleeGr/webpage
python3 __init__.py

An instance of the server is running on SleeGr