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:fulfilio/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:
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.
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" %}
6.1: Favicon and logo
Set custom favicon by setting icon path in SHOP_FAVICON variable before extending webshop/base.jinja as follows:
{% set SHOP_FAVICON = "<path to custom favicon>" %}
{% extends "webshop/base.jinja" %}
Release files for fio_nereid_webshop 3.4.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fio_nereid_webshop-3.4.5.0.tar.gz | 4.2 MB | Details |
Release files / fio_nereid_webshop-3.4.5.0.tar.gz
| Download URL | fio_nereid_webshop-3.4.5.0.tar.gz |
|---|---|
| Size | 4.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5fbef30d799efae5ff3b2fa6f5ef75ba3cf2f2d0e7b631bab64f799e19f787b1
|
|
BLAKE2b-256 checksum How to use checksums |
7f68fc4ff153b99b55c1b8754a64bc24efd3547347e571b9adb1eaff59fca550
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |