Jämför priserna i magento_prisfil med pricerunner, prisjakt, mm
Python CSS Puppet Shell PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
provisioning
static
templates
.gitignore
.gitmodules
LICENSE.txt
README.md
Vagrantfile
admin.py
calculate_margins.py
magentoclient.py
prisfilparser.py
requirements.txt
settings.py
util.py

README.md

Prisinfo

Mission

compare prices for all products in magento_prisfil with prices on pricerunner, prisjakt, kelkoo, etc.

Installation

install the prerequisits

This is documented in detail on the wiki now.

install the project

After installing the prerequisits, you should be able to create a virtualenv for this project

mkvirtualenv prisinfo

Then, check out the project code from github

cd ~/Development
git clone https://github.com/captnswing/prisinfo.git
pip install -r requirements.txt

Update the code

In the Terminal

workon prisinfo
cd ~/Development/prisinfo
git pull
pip install -r requirements.txt

Running the application(s)

the parser script

In the Terminal

workon prisinfo
cd ~/Development/prisinfo
./prisfilparser.py

the admin GUI

In the Terminal

workon prisinfo
cd ~/Development/prisinfo
python admin.py

Then, open a browser, and surf to http://127.0.0.1:5000/

the xml-rpc test

workon prisinfo
cd ~/Development/prisinfo
export MAGENTO_API_USER=<insert/my/api/user>
export MAGENTO_API_KEY=<insert/my/api/key>
./magentoclient.py