Code Monkey home page Code Monkey logo

rapstore-backend's Introduction

Backend for the RAPstore

Prerequisites

  • Apache2 webserver
  • MySQL database
  • python
  • python-mysqldb

Setup

  1. Important to notice: Please run every command with 'sudo -u www-data'
  2. go to setup/ and run 'python db_create' with your privileged user login data OR do it manually:
    • create database 'riot_os'
    • add a new user 'rapstore_backend' with following privileges only for 'riot_os' database (NOT GLOBAL!): SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, ALTER
    • add a new user 'rapstore_website' with following privileges only for 'riot_os' database (NOT GLOBAL!): SELECT
  3. copy setup/db_config_EXAMPLES.py and rename the copy to db_config.py
  4. copy config/config_EXAMPLES.py and rename the copy to config.py
  5. change passwords in db_config.py and config.py to the passwords you set by creating user 'rapstore_backend' and 'rapstore-website'
  6. replace USER_PRIVILEGED and PASSWORD_PRIVILEGED by your values
  7. go to setup/ and run 'python db_setup.py'
  8. update the database with running 'python db_update.py'
  9. to create or update a stripped version of the RIOT repository run 'python strip_riot_repo.py'

More Information

Graphics are editable with yEd

LICENSE

  • The project is licensed under the GNU Lesser General Public License (LGPL) version 2.1 as published by the Free Software Foundation.

All code files contain licensing information.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.