A simple web framework for developing COBOL web applications.
$ docker pull kirull1/cobol-web:latest
$ docker run -it -p 8000:8000 kirull1/cobol-web:latest
Choose the example you are interested in. (for example "send-text")
$ cd examples/send-text
Run the executable file.
$ ./main
In order to build the project, you need to run the command:
$ make default
After a successful build of the project, the created folder "obj" will contain the object file "lib.o".
To add a framework to your program:
$ cobc -x your_main_file.cbl ... lib.o
A large number of examples are provided in the ./examples/
directory. Each example can be compiled with make
and run.
To build examples, run the command:
$ make example
After the build is completed, executable files will be created in the folders with examples.