Arches works on Linux, Windows, or macOS. Most production implementations use Linux servers.
To begin development or make a test installation of Arches, you will need the following minimum resources:
- Disk Space:
2GB for all dependencies and Arches.
8GB to store uploaded files, database backups, etc.
Depending on how many uploaded files (images, 3d models, etc) you will have, you may need much more disk space. We advise an early evaulation of how much space you think you’ll need, and then provision twice as much just to be safe…
- Memory (RAM):
This recommendation is based on the fact that ElasticSearch requires 2GB to run, and as per official ElasticSearch documentation no more than half of your system’s memory should be dedicated to ElasticSearch.
In production, you very likely need to increase your memory. In building the production (minified) frontend asset bundle, yarn (all by itself!) will require at least 8GB to run. If you don’t have enough memory, yarn will likely return an error, sometimes after several minutes or hours of processing. In production, you may also find it useful to allow ElasticSearch to use up to 32GB.
Arches requires the following software packages to be installed and available. Ubuntu Linux users see below for an installation script.
- Python >= 3.8:
Python 3.8 and later comes with pip
Windows You must choose 32-bit or 64-bit Python based on your system architecture.
macOS This guide works well if you wish to install via brew: https://docs.python-guide.org/starting/install3/osx/
- PostgreSQL >= 12 with PostGIS 3:
macOS Use Postgres.app.
Windows Use the EnterpriseDB installers, and use Stack Builder (included) to get PostGIS. After installation, add the following to your system’s
C:\Program Files\PostgreSQL\12\bin. Make sure you write down the password that you assign to the
- Elasticsearch 8:
Elasticsearch is integral to Arches and can be installed and configured many ways. For more information, see Arches and Elasticsearch.
- GDAL >= 2.2.x:
Windows Use the OSGeo4W installer, and choose to install the GDAL package (you don’t need QGIS or GRASS). After installation, add
C:\OSGeo4W64\binto your system’s
- Node.js 16.x (recommended):
- Yarn >= 1.22, < 2:
NOTE: We are pointing to the “classic” yarn installer to avoid installation of more recent versions of yarn that are not compatible with Arches via the Node.js package manager.
To support long-running task management, like large user downloads, you must install a Celery broker like RabbitMQ or Redis:
Once you have a broker installed, read more about Task Management in Arches.
Scripted Dependency Installation#
For Ubuntu we maintain an ubuntu_setup.sh script to install dependencies. It works for 18.04 and 20.04, and preliminary testing shows it to be compatible with 22.04 as well.
wget https://raw.githubusercontent.com/archesproject/arches/stable/7.4.2/arches/install/ubuntu_setup.sh source ./ubuntu_setup.sh
You will be prompted before each dependency is installed, or use
yes | source ./ubuntu_setup.sh to install all components (Postgres/PostGIS, Node/Yarn, and ElasticSearch).