GithubHelp home page GithubHelp logo

Comments (2)

pkulchenko avatar pkulchenko commented on May 26, 2024 1

@xet7, can you elaborate on what you mean by "not working"? Your code is correct and it's working for me.

Here is what I did.

  1. Saved the file you have in the first comment into .lua/techbench.lua file.
  2. Saved .init.lua with one line content: require "techbench.lua"
  3. Added both of these files to redbean.com (I built it locally, but you can download it from https://redbean.dev/#download)
  4. Launched redbean with ./redbean.com
  5. Pointed browser to http://localhost:8080/updates/
  6. Received json back.

I also got redbean.sqlite3 file saved in the same folder where redbean.com is.

If that still doesn't work for you, please provide the exact setup you have, including the version of redbean you're using and details on what you mean by "not working" (with the full redbean logs). Hope this helps.

from fullmoon.

xet7 avatar xet7 commented on May 26, 2024

With above code, I get this error:

E2022-11-07T13:46:09+000138:tool/net/redbean.c:2527:redbean:23309] (srvr) server error: 404 Not Found

from fullmoon.

Related Issues (20)

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.