Network Attached Storage (NAS) Box using Raspberry Pi allows you to install comprehensive applications and services on your Raspberry Pi, whenever you need them.
The connectivity of NAS Box in network is as follows:
The technology stack includes:
To get started, you need to have Python and Flask installed. Clone this repository and run the following commands to install prerequisites.
You can run setup.py for installation of all pre-requisites having MariaDb database user as root and password as root. OR You can manually install pre-requisites as follows.
sudo apt-get install python-opencv
sudo apt-get install python-mysql.connector
sudo apt-get install python-pip
pip install flask
pip install flask_mail
pip install mysql
sudo apt-get install mariadb-server
mysql_secure_installation
mysql -u root -p
mysql -u root -p nas < nas.dump
-
Run a local server (python app.py)
-
Next, browse to http://0.0.0.0:5000