Skip to content

Webshop demo not working #2

Open
@florian-rabis

Description

Hi,
I had to adjust the settings.py to get the webshop example running.
It seems the picocss middleware is missing. Additionally, a line further down was duplicated.

...

MIDDLEWARES = [
    'lona_picocss.middlewares.LonaPicocssMiddleware',
]

...


FRONTEND_TEMPLATE = lona_picocss.settings.FRONTEND_TEMPLATE                          # one removed

...

I also had to add the demo directory to the Python path to ensure the modules were found correctly. Unfortunately, running the Makefile on Windows didn't work for me, even after adjusting all the paths.

After that, I was able to start everything using lona run-server --project-root="webshop" --settings="settings.py".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions