On an empty folder:
OS | Command/Instructions |
---|---|
Windows | Download and execute: https://openaf.io/win64/install.bat |
Mac | Execute on a Terminal:wget -O - https://openaf.io/mac64/install.sh \| sh |
Unix x86 | Execute on a shell:wget -O - https://openaf.io/unix64/install.sh \| sh |
Unix arm32 | Execute on a shell:wget -O - https://openaf.io/arm32/install.sh \| sh |
Unix arm64 | Execute on a shell:wget -O - https://openaf.io/arm64/install.sh \| sh |
Use the docker container:
docker run -ti openaf/openaf
(see more in openaf-dockers)
Download just the Java JAR file:
Build | URL |
---|---|
Latest stable build | https://openaf.io/openaf.jar |
Latest nightly build | https://openaf.io/nightly/openaf.jar |
and the execute on an empty folder:
java -jar openaf.jar --install
(storage requirements can be made lower if needed, tbc)
Step | Instruction | Sample |
---|---|---|
1 | Create a "hello.js" file | print("Hello World!"); |
2 | Execute on the same folder as the "hello.js" file | $ openaf -f hello.js |
PS > openaf -c "print('Hello World!');"
$ openaf -c 'print("Hello World!");'
openaf --update
Just delete the original empty folder where you executed the install command.
After cloning the repository locally execute:
ojob build.yaml
After building, on the tests sub-folder, the recommend way is to use the just openaf just built:
ojob autoTestAll.yaml
But you can use a previous stable openaf build if the ow.test and ojob functionality could be broken by your changes.