-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
what are those "${{DAEMON}}" directives in nginx.conf #198
Comments
This are interpolated by the The values are pulled from the lapis config for the environment the site was launched for. See You should use Lapis to launch openresty, instead of calling the nginx executable directly. https://leafo.net/lapis/reference/command_line.html#command-reference/lapis-server Regarding running the project locally, did you try following the instructions on the readme? https://github.com/luarocks/luarocks-site#how-to-run-locally |
oh thanks ! maybe the config files generated by EDIT: I was reading leafo/lapis#612 which contained the answer I think: it's all in config.moon https://github.com/luarocks/luarocks-site/blob/master/config.moon#L19 It could be useful to have
Yes I did but I am trying to make something even easier to run (with declarative VMs). The contributing part mentioned the usage of NB: while reading lapis doc, I realized you are itch.io's creator ?! much respect ! |
Perhaps it might be useful to slow down and spend a bit more time reading the relevant parts of the Lapis documentation, specifically about starting the server and configuration. I mentioned in the comment you replied to about If you want to ask for help in real time you can try joining the MoonScript discord and someone can probably assist https://discord.com/invite/Y75ZXrD
Unfortunately I don't provide a file system stub that is a drop in replacement for cloud storage module. Uploading files is done directly to cloud storage to prevent additional work on the app server. It's not a trivial thing to replace. Good luck |
I got the software starting,
If I search from the root of luarocks-site, I get:
|
I am trying to run luarocks-site locally (and make it easier for everyone #197) but I get
invalid value "${{DAEMON}}" in "daemon" directive, it must be "on" or "off" in /home/user/luarocks-site/nginx.conf.compiled
.There is a bunch of
${{XXX}}
in the nginx.conf but it doesnt look like standard nginx variables, are these intended to be used with "substenv" ? another issue is that there is no "DAEMON" set anywhere in the repo so it makes starting the website even harder, I think one would need to commit a default.env
with default values so that it's easier to get startedThe text was updated successfully, but these errors were encountered: