19.0.0 released Nov 08, 2023
123 hello world
This is a condensed version of Vely Hello World that you can run in minutes. No additional software needs to be installed. For more, see examples.
First install Vely.
Create Hello World source file (hello.vely) in a new directory; note it's all one bash command:
echo '#include "vely.h"
end-request-handler' > hello.vely
Create Hello World application:
sudo vf -i -u $(whoami) helloworld
Make Hello World application:
You can run Hello World both as a service and from command line:
The end result looks like this (notice in bold the responses from your web application and the command line):
- As a service, first start your Hello World FastCGI application server:
then connect to it:
cgi-fcgi -connect /var/lib/vv/helloworld/sock/sock /
- From command line:
You have run Hello World with Vely, first by talking directly to a FastCGI server and then from command line. See FastCGI-command-line-client for a similar example that uses TCP sockets.
You are free to copy, redistribute and adapt this web page (even commercially), as long as you give credit and provide a dofollow link back to this page - see full license at CC-BY-4.0
. Copyright (c) 2019-2023 Dasoftver LLC. Vely and elephant logo are trademarks of Dasoftver LLC. The software and information on this web site are provided "AS IS" and without any warranties or guarantees of any kind. Icons from table-icons.io
copyright Paweł Kuna, licensed under MIT