Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Django Based Market Place: Auctions, Shopping Cart, Central Market, SAAS, Subscriptions, Payments, Shop Designer
Python JavaScript
Branch: master


## Commands to install the project

Some linux variants will run into problems in the buildout process.
Make sure the following packages are installed on your system:
apache2 apache2-devel mysql mysql-devel gcc swig python-devel python-setuptools
Some systems may have different package names or require additional packages.

Set up apache with the following VirtualHost example:
<VirtualHost *:80>
	ServerAdmin user@localhost
	DocumentRoot /opt/CollectorCity-Market-Place
	ErrorLog /var/log/apache2/CollectorCity-Market-Place-error.log
	CustomLog /var/log/apache2/CollectorCity-Market-Place-access.log combined
	Alias /media/admin /opt/CollectorCity-Market-Place/auctions-env/lib/python2.6/site-packages/django/contrib/admin/media
	Alias /media /opt/CollectorCity-Market-Place/marketplaces/media
	Alias /favicon.ico /opt/CollectorCity-Market-Place/marketplaces/media/favicon.ico
	Alias /robots.txt /opt/CollectorCity-Market-Place/marketplaces/media/robots.txt

	<Directory /opt/CollectorCity-Market-Place/media>
		Order deny,allow
		Allow from all

	WSGIDaemonProcess user processes=1 threads=2 python-path=/opt/CollectorCity-Market-Place/auctions-env/lib/python2.6/site-packages user=user group=user
	WSGIProcessGroup user
	WSGIScriptAlias / /opt/CollectorCity-Market-Place/deploy/marketplaces.wsgi

	<Directory /opt/CollectorCity-Market-Place>
		Order deny,allow
		Allow from all

virtualenv --no-site-packages --python=python2.6 auctions-env

pip -E auctions-env install --requirement=auctions/deploy/requirements.txt

source auctions-env/bin/activate

The Deploy Directory should contain and the files
The libs directory should contain the geopy, pickefield, pyExcelerator, reversion, south and storages directories

See requirements.txt for more info

cd /CollectorCity-Market-Place/
chmod +x
# crear db en mysql, editar 
./ syncdb
./ runserver

### Crons ###
To get the best seller of the week. run once a week (could be all mondays) 

2) cron_send_daily_invoice
Daily invoices. Cron that sends the invoices to customers... Should be run once a day, every day...

Should be run every day, once a day. It checks which customer do not paid their subscription, send mail to site admins..

java -Dsolr.solr.home=multicore -server -jar start.jar

4) Reindex sorl objects
python update_index -a 1
## Commands to install the project
easy_install virtualenv pip
virtualenv --no-site-packages --python=python2.6 auctions-env
pip -E auctions-env install --requirement=deploy/requirements.txt
source auctions-env/bin/activate
cd marketplaces
chmod +x
# edit set DEBUG=True to so runserver serves media files.
# edit to set database info (use sqlite3 for non-production)
./ syncdb
./ migrate

Something went wrong with that request. Please try again.