Skip to content
forked from pyscada/PyScada

PyScada is a open source scada system that uses the Django framework as backend

License

Notifications You must be signed in to change notification settings

lbzhao28/PyScada

Repository files navigation

PyScada

An Python, Django, SQL based Open Source Scada System

Structure

Backend

Frontend

The frontend is a HTML5 Browser app based on

Installation

dependencies

Python

  • Python 2.7.3
  • easy_install
  • pip
  • django > 1.4
  • pymodbus
  • twisted
  • pyserial
  • zope.interface
  • scipy
  • numpy
  • mysqldb

other

  • Mysql Server

1. Setup MySql

login to the mysql shell, use the password you set during the installation of mysql

mysql -u root -p
enter Password:

create a new database

CREATE DATABASE FAkS_db CHARACTER SET utf8;

add a new user for Django and grand him all privileges for the database

#!bash
GRANT ALL PRIVILEGES ON FAkS_db.* TO 'FAkS-user'@'localhost' IDENTIFIED BY 'FAkS-user-password';

leave the mysql shell

exit

2. Setup Django

init the project folder

django-admin.py startproject PyScadaServer
cd PyScadaServer/PyScadaServer
nano settings.py
python manage.py syncdb 

3. Setup PyScada

About

PyScada is a open source scada system that uses the Django framework as backend

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 53.7%
  • Python 39.6%
  • HTML 5.5%
  • Other 1.2%