FOSS-developers / 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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Graphical User Interface

The connectivity of NAS Box in network is as follows:

Connectivity Diagram

The technology stack includes:

Technology Stack

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

  1. Run a local server
    $ python app.py
  2. Next, browse to http://0.0.0.0:5000

About

Network Attached Storage (NAS) Box using Raspberry Pi allows you to install comprehensive applications and services on your Raspberry Pi, whenever you need them.

License:GNU General Public License v3.0


Languages

Language:HTML 60.9%Language:Python 26.2%Language:CSS 12.9%