Skip to content

riot-appstore/rapstore-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages