Skip to main content

Nereid Webshop

Project description

https://travis-ci.org/openlabs/nereid-webshop.png?branch=develop https://coveralls.io/repos/openlabs/nereid-webshop/badge.png?branch=develop

Full Webshop based on Tryton Nereid

Installation

Setting this module up is similar to the setup of any other tryton module.

Step 1: Create a virtualenv

virtualenv webshop

You can now activate the virtualenv

cd webshop
source bin/activate

Step 2: Clone and Setup the module

git clone git@github.com:openlabs/nereid-webshop.git
cd nereid-webshop
python setup.py install

This command would install all the required dependencies for the module to function.

Step 3: Setup Database

The module should now be available on the modules list and can be installed into any database. Setup a website as shown below:

docs/source/_static/img//website.png

You will have to create a guest user for nereid. The guest user would be the user which would be available in the context when there are no users logged into the website.

Ensure that you have the following too:

  • A pricelist

  • A payment_term

Step 4: Create an application script

Create an application.py script which could lauch the application. A reference is provided in the web folder (application-example.py).

In most cases the only changes you may need are:

  • the DATABASE_NAME which should be the name of the database (from step 3).

  • the TRYTON_CONFIG which should be the location of the tryton config file.

You should now be able to run the development server by running the application using:

python application.py

On pointing the browser to localhost:5000 you should be able to see the home page.

docs/source/_static/img/homepage.png

Step 5: Production Deployment

TODO

Step 6: Customization

For base customization in webshop you have to inherit base.jinja as follow:

{% extends "webshop/base.jinja" %}

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openlabs_nereid_webshop-3.4.4.6.tar.gz (4.2 MB view details)

Uploaded Source

File details

Details for the file openlabs_nereid_webshop-3.4.4.6.tar.gz.

File metadata

File hashes

Hashes for openlabs_nereid_webshop-3.4.4.6.tar.gz
Algorithm Hash digest
SHA256 6dc5d5bc28beb1e5d7590d67ffc97e7f08c6ac28002788815d227c51682f644e
MD5 d7b5a6c02fb5796fa475a60c677ec739
BLAKE2b-256 c49e278a2e7f73d0527ae42e52bfe3c42123b79d8e5beab2b9c5b3a839cd740f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page