Installing Lino Shop¶
Install Lino (the framework) as documented in Installing a Lino developer environment
Go to your
repositoriesdirectory and download also a copy of the Lino Shop repository:
cd ~/repositories git clone https://github.com/lino-framework/shop
Use pip to install this as editable package:
pip install -e shop
Create a local Lino project as explained in Playing with your first Lino site.
Change your project’s
settings.pyfile so that it looks as follows:
from lino_shop.projects.shop.settings import * class Site(Site): title = "Our Lino Shop site" SITE = Site(globals()) DEBUG = True
The first line is Python way to specify encoding (PEP 263). That’s needed because of the non-ascii ì of “Lino Noi” in line 3.