|
|
On this page, you will find general instructions on how to install a typical Occam server and web portal. There will be links throughout to help guide you through any additional installation that may be required and finally some links to extensions that you might find useful for your own installation.
|
|
|
|
|
|
## Prerequisites
|
|
|
|
|
|
### Windows
|
|
|
|
|
|
Install Ruby from [here](https://rubyinstaller.org/downloads/), Python from [here](https://www.python.org/downloads/release/python-362/) and Git from [here](https://git-scm.com/downloads) and install them in that order. You can keep all install options as their defaults.
|
|
|
|
|
|
You should get the most up-to-date versions above, but you can also use these links directly to the downloads here:
|
|
|
|
|
|
* [Ruby](https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-2.4.2-2/rubyinstaller-2.4.2-2-x64.exe)
|
|
|
* [Python](https://www.python.org/ftp/python/3.6.2/python-3.6.2-amd64.exe)
|
|
|
* [Git](https://github.com/git-for-windows/git/releases/download/v2.14.1.windows.1/Git-2.14.1-64-bit.exe)
|
|
|
|
|
|
Some of the libraries pulled in later may require the Visual C++ runtime and build tools found [here](http://landinghub.visualstudio.com/visual-cpp-build-tools) and you may want to install those now.
|
|
|
|
|
|
Once you have all three installed, open a Command Prompt and then you'll be able to follow along.
|
|
|
|
|
|
### Linux
|
|
|
|
|
|
Depending on your distribution, you may have to alter the following instructions. You'll need to install git, ruby, and python3 along with docker, sqlite3, and unzip.
|
|
|
|
|
|
```
|
|
|
pacman -Sy git ruby python3 docker unzip sqlite3
|
|
|
```
|
|
|
|
|
|
Then follow along for the rest of this guide.
|
|
|
|
|
|
## Occam Daemon
|
|
|
|
|
|
The Occam daemon is the main code that is used to store and execute objects. This tool is strictly a command-line tool and a daemon that can be used in conjunction with front-ends or web-servers to provide a more robust system.
|
|
|
The Occam daemon is the main code that is used to store and execute objects. This tool is strictly a command-line tool and a daemon that can be used in conjunction with front-ends or web-servers to provide a more capable system.
|
|
|
|
|
|
For our typical system, we will place a daemon and then later a web-server on the same machine. We are assuming a Linux machine at the moment. We will need some other tools on the system before we can begin. Using your operating system's package manager, install git, python, and Docker.
|
|
|
|
... | ... | |