Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.

Conversation

@xyproto
Copy link
Contributor

@xyproto xyproto commented Jun 5, 2015

Simple way to get started with Lua.

  • Additional installation instructions for Algernon is available on the Algernon webpage.
  • Algernon is reasonably popular.
  • There are dependencies on Redis or MySQL. BoltDB is included in Algernon. The only dependency is libreadline, for Linux and OS X (already installed everywhere)
  • I'm not selling anything. This is open source software without any connection to a company.

@zpao
Copy link
Member

zpao commented Jun 5, 2015

This still doesn't match existing behavior of the tutorial, which reads from and writes to comments.json on every request (allowing it to be edited manually, then having that show up in the browser). Basically comment.json should be considered the database.

@xyproto
Copy link
Contributor Author

xyproto commented Jun 17, 2015

The updated Lua script uses the comments.json file.

It only works with the latest version of Algernon, which is what the go get instructions provides.
(The current version of Algernon in Homebrew is at 0.74).

@zpao
Copy link
Member

zpao commented Jun 18, 2015

Alright, I got this running. All I can see is the JSON being served. It's supposed to serve the whole tutorial, like all of the other server implementations. Maybe I'm doing something wrong…

@xyproto
Copy link
Contributor Author

xyproto commented Jun 22, 2015

Updated server.lua to behave exactly like the other samples. Works with the latest version of Algernon which will appear in homebrew shortly.

@xyproto
Copy link
Contributor Author

xyproto commented Jun 24, 2015

algernon 0.82 is now available in Homebrew.

@zpao
Copy link
Member

zpao commented Jun 24, 2015

Thanks for updating. I'm on vacation so will get back to this in ~2 weeks
unless somebody else beats me to it.

On Wednesday, June 24, 2015, Alexander F Rødseth notifications@github.com
wrote:

algernon 0.82 is now available in Homebrew.


Reply to this email directly or view it on GitHub
#55 (comment)
.

@xyproto
Copy link
Contributor Author

xyproto commented Jun 24, 2015

Ok. Have a great vacation!

@zpao
Copy link
Member

zpao commented Jul 9, 2015

One more tweak but I'm going to merge and followup. Thanks!

zpao added a commit that referenced this pull request Jul 9, 2015
@zpao zpao merged commit 89fd834 into reactjs:master Jul 9, 2015
@xyproto
Copy link
Contributor Author

xyproto commented Jul 9, 2015

Thanks for merging!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants