Network-Attached-Storage-NAS-Box-using-Raspberry-Pi
Network-Attached-Storage-NAS-Box-using-Raspberry-Pi copied to clipboard
Network Attached Storage (NAS) Box using Raspberry Pi allows you to install comprehensive applications and services on your Raspberry Pi, whenever you need them.
Network-Attached-Storage-NAS-Box-using-Raspberry-Pi
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.
Initial setup
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.
Installing Flask
$ 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
Installing MariaDB database
$ sudo apt-get install mariadb-server
$ mysql_secure_installation
Importing database
$ mysql -u root -p
$ mysql -u root -p nas < nas.dump
Deploy flask app
- Run a local server
$ python app.py - Next, browse to http://0.0.0.0:5000