Giter Site home page Giter Site logo

barseghyanartur / collectorcity-market-place Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stephenpower/collectorcity-market-place

0.0 3.0 0.0 9.02 MB

Django Based Market Place: Auctions, Shopping Cart, Central Market, SAAS, Subscriptions, Payments, Shop Designer

Home Page: www.greatcoins.com

Python 54.42% CSS 25.26% JavaScript 20.29% Shell 0.03%

collectorcity-market-place's Introduction

## 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
	ServerName mydomain.com
	ServerAlias www.mydomain.com
	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
	</Directory>

	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
	</Directory>
</VirtualHost>



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 djangoflash.zip and the gchecky.zip 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 manage.py
# crear db en mysql, editar settings.py 
./manage.py syncdb
./manage.py runserver


### Crons ###
1) cron_week_topsellert.py 
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...

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


### RUN SOLR
java -Dsolr.solr.home=multicore -server -jar start.jar

4) Reindex sorl objects
python manage.py 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 manage.py
# edit settings.py set DEBUG=True to so runserver serves media files.
# edit settings.py to set database info (use sqlite3 for non-production)
./manage.py syncdb
./manage.py migrate

collectorcity-market-place's People

Contributors

stephenpower avatar fernando-garate avatar

Watchers

James Cloos avatar Artur Barseghyan avatar  avatar

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.