Welcome to the Spicey web application framework!
To generate an application, follow the steps below.
Create a Curry program containing a constant of type Database.ERD.ERD
which describes your entity-relationship model (see the file "examples/BlogERD.curry" as an example).
Change to the directory in which you want to create the project.
From there execute spiceup
and supply the name of the term file, e.g.,
spiceup .../BlogERD.curry
This generates the complete source code of the initial application (see the generated file README.txt for some explanations).
You can also provide a file name for the SQLite3 database in which all data is stored, e.g.,
spiceup --db BlogData.db .../Blog.erdterm
If the parameter "--db ..." is not provided, then the name of database file is "
Compile the generated programs by make compile
.
Configure the Makefile (variable WEBSERVERDIR) and execute make deploy
to deploy the web application.
After the successful compilation, the application is executable in a web browser by loading <URL of web dir>/spicey.cgi
.