Installing Ampersand
Last updated
Last updated
Ampersand is great for rapid prototyping. We advise you to do that on the web. But sometimes you want to run your prototypes on your own computer(s). For different purposes there are different ways of doing that. This chapter shows you how.
You can use any text editor to create Ampersand scripts. However, for those that use the editor, there is language support. All you have to do is search for the vscode extension "Ampersand (ADL) language support" and install it, and then choose the coloring theme called "Ampersand".
Using Ampersand offline does not require you to install Ampersand. Ampersand runs in Docker so you can use it independently and on almost any platform. . It can be summarized as follows:
Make sure Docker runs on your laptop or install it if it doesn't.
Copy the files Dockerfile
and docker-compose.yml
and adapt them for your own Ampersand prototype. if you don't know where to find them.
Run your .adl
-file on the Docker platform.
DIY-engineers will find instructions in section . You need a webserver that can run javascript, PHP7, the PHP composer, and a (My)SQL or MariaDB database server. For generating functional specifications, you might use LaTeX, Markdown, Word .docx and other formats. This chapter gives an overview of the Ampersand production line for whoever needs to circumvent the automated process.
RAP4 is an Ampersand repository, in which multiple users can store and use their Ampersand scripts. Consult . This is work in progress.
If you want to change the Ampersand compiler for your own purposes, you need access to the source files, and a Haskell development environment. This section still has to be written. It will describe the software process for developing Ampersand itself.
The remainder of this chapter explains in detail all the things you need to get you up and running with Ampersand. The instructions presume that you are familiar with your own computers.