-
Clone Aligned Layer inside the
/tmpdirectory.cd /tmp/ git clone https://github.com/yetanotherco/aligned_layer -
Head to the
explorer/folder and run the following command:RPC_URL= ENVIRONMENT= ALIGNED_CONFIG_FILE= PHX_HOST= ELIXIR_HOSTNAME= PHX_SERVER=true DB_NAME= DB_USER= DB_PASS= DB_HOST= TRACKER_API_URL= SECRET_KEY_BASE= KEYFILE_PATH=/home/app/.ssl/key.pem CERTFILE_PATH=/home/app/.ssl/cert.pem make create_envThe values to be filled can be found inside the documentation.
-
Build the elixir application.
make build_explorer -
Move the built binary outside
/tmp/and move it to the actual location.make install_explorer -
Set the
CAP_NET_BIND_SERVICE=+eipto the elixir application to allow elixir to bind port443make set_capThis step must be ran as user
admin. -
Enable the systemd service.
make run_service