Installing Lino Shop¶
Install Lino (the framework) as documented in Install your Lino developer environment
Go to your
repositories
directory 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 Create your first Lino site.
Change your project’s
settings.py
file 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.