Skip to content

demo server instance + server issue #2

Closed

Description

@juliangaal

I was able to find photos from the iOS app, but not the webserver. Did I miss them?

Update: tried getting it to run myself and am running into issues with server

My tree after running ./cook seed to generate recipes.

.
├── Baked Potato Soup.cook
├── Borsch.cook
├── Breakfasts
│   ├── French Breakfast.cook
│   ├── Irish Breakfast.cook
│   ├── Irish Breakfast.jpg
│   ├── Jamie
│   │   ├── Easy Pancakes.cook
│   │   └── Mexican Style Burrito.cook
│   └── Oats.cook
├── cook (binary)
├── Lazy Tomato and Cuke Salad.cook
├── Neapolitan Pizza.cook
├── Olivier Salad.cook
├── Potstickers.cook
├── README.md
├── Root Vegetable Tray Bake.cook
├── Salads
│   ├── Beetroot, feta & grain salad.cook
│   └── Caprese Salad.cook
├── Sicilian-style Scottadito Lamb Chops.cook
├── Snack Basket I.cook
├── Snack Basket II.cook
└── Zharkoe.cook

OS: Ubuntu 20.04
Browser: FF 93.00

When serving with ./cook server and browsing to 127.0.0.1:9080, I am greeted with this

Thanks for your help, this looks like a really cool project!

Activity

  1. changed the title [-]Is there a demo instance I missed?[/-] [+]Is there a demo server instance I missed?[/+] on Oct 26, 2021
  2. VageGast commented on Oct 26, 2021

    @VageGast

    I did the exact same thing and got the same output.

    OS: Linux Mint 19.1
    Browser: FF 93.0 (64-bit)

  3. changed the title [-]Is there a demo server instance I missed?[/-] [+]demo server instance + server issue[/+] on Oct 26, 2021
  4. Amolith commented on Oct 26, 2021

    @Amolith

    I'm in precisely the same boat using Arch Linux, Firefox 94.0b9, and cook v0.0.7. I downloaded the release, unzipped it, moved it into my path, created a directory, ran cook seed, then cook server. I'd be happy to provide as much (or as little) additional debugging info as necessary.

  5. juliangaal commented on Oct 26, 2021

    @juliangaal
    Author

    (I assume this was developed on MacOS in large parts, bcs of Swift?)

    Do you have access to a machine running MacOS by chance @VageGast @Amolith?

  6. Amolith commented on Oct 26, 2021

    @Amolith

    @juliangaal I do not. All of my devices run various Linux distros 😄

  7. dubadub commented on Oct 27, 2021

    @dubadub
    Member

    Thanks for reporting, will check it shortly

  8. dubadub commented on Oct 27, 2021

    @dubadub
    Member

    The issue was resolved with #7. It comes down to the fact that Firefox expects (as a browser that respects protocols) content to be in gzip format, but server was always sending in brotli.

  9. Amolith commented on Oct 27, 2021

    @Amolith

    @dubadub Glad to see this fix land so quickly! I dug out some old family cookbooks and have copied a few recipes over to CookLang already. I also set cook up on one of my VPSes so they're viewable from the web. Looking forward to seeing the project grow 🙂

  10. juliangaal commented on Oct 27, 2021

    @juliangaal
    Author

    @Amolith were you able to use images in the web view? According to the docs, I just need to place an image with the same name as the recipe in the directory of the recipe, but nothing is showing.

  11. Amolith commented on Oct 27, 2021

    @Amolith

    @juliangaal just did some testing and opened issue #9

  12. dubadub commented on Oct 28, 2021

    @dubadub
    Member

    were you able to use images in the web view?

    @juliangaal the full image support is not yet implemented in CLI yet: there's a small thumbnail image, but no inside recipe views. We're actively looking for a contributor specifically for the web-server, so we can make it much more usable.

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

Metadata

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