Git Product home page Git Product logo

nereid-webshop's Introduction

nereid-webshop

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 [email protected]: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" %}

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" %}

nereid-webshop's People

Contributors

tarunbhardwaj avatar pritishc avatar aroraumang avatar prakashpp avatar mbehrle avatar gautampanday avatar raghav-kukreti avatar pokoli avatar gauravbutola avatar goyal1092 avatar gayledds avatar

Watchers

James Cloos 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.