Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Simple Online Store application

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.


onlinestore-multi, Simple Online Store application 
(c) Noprianto <>

- Run as WSGI Application
- Multi Language (currently English and Bahasa Indonesia)
- Template Support
- File Manager 
- Product Category/Group/Item
- Custom Link
- News Module
- FAQ Module
- User-Defined Content (Custom URL)
- Simple Invoice Management
- Simple Statistics
- Custom Membership Level  
- Send Email (Cart Checkout)
- More

- Python
- jQuery (bundled, old version)
- BeautifulSoup
- GeoIP
- Python Imaging Library
- MySQL (and MySQLdb) 

Installation (with Python already installed):
- We will use Apache HTTP Server for WSGI.

- Install:, PyYAML, BeautifulSoup, Python GeoIP, PIL, MySQL Server, Python MySQLdb
  Ubuntu-based distribution (put command in one line):
  $ sudo apt-get install python-webpy python-yaml python-beautifulsoup python-geoip python-imaging mysql-server python-mysqldb

- Download onlinestore-multi source code, or clone from GitHub
  $ git clone

- Change into root directory of source code:
  $ cd onlinestore-multi

- Create new MySQL database, restore from dump file, set admin password:
  $ mysql -u root -p
  mysql> create database onlinestore;
  mysql> grant all privileges on onlinestore.* to onlinestore@localhost identified by 'onlinestore_password';
  mysql> flush privileges;
  mysql> quit;

  $ mysql -D onlinestore -u onlinestore -p < ./db.sql 

  $ mysql -D onlinestore -u onlinestore -p
  mysql> update ms_user set password=md5('admin123') where id=1;

- In root directory of source code:
  $ cp config.ini.dist config.ini

- Edit config.ini

- If you are using /tmp/onlinestore-multi-session as session directory, 
  please make sure it is writeable by user who is running web server
  Ubuntu-based distribution:
  $ sudo chown www-data -R /tmp/onlinestore-multi-session

- Configure WSGI
  Ubuntu-based distribution:
  $ sudo apt-get install libapache2-mod-wsgi
  For default domain 
  (replace /tmp/onlinestore-multi with your configuration):

  $ sudo nano /etc/apache2/sites-available/default
  (put this line before VirtualHost definition)
  WSGIPythonPath /tmp/onlinestore-multi/

  (put these lines below DocumentRoot)

  WSGIScriptAlias / /tmp/onlinestore-multi/
  AddType text/html .py
  Alias /static /tmp/onlinestore-multi/static/
  $ sudo service apache2 reload
Thank you :)
Something went wrong with that request. Please try again.