Requirements

Get the Sources

Use Git to get the sources.

# 1. Clone the Datalayer repository.
git clone https://github.com/datalayer/datalayer
# 2. Define temporary $DLAHOME and add $DLAHOME/bin to your PATH.
export DLAHOME='$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/datalayer' && \
  export 'export PATH=$DLAHOME/bin:$PATH'
# 3. Clone the other repositories folder in the $DLAHOME/repos folder.
dla repos-clone

Tooling

To operate an already installed Datalayer Science Platform, you need on your Linux or MacOs operating system.

To install on a local machine or develop in the Datalayer repository you also need on your Linux or MacOs operating system additional tools.

Download the Distribution Packages

# This will pull binaries and packages and will place/extract them at the correct location, 
# typically $DLAHOME/opt, $DLAHOME/bin...
dla dists-pull

Make the Environment

# Create an nice configured environment.
dla env-make
# Check your environment.
dla env-status

Set your Profile

Create a dlarc file in the ~/.datalayer folder with your system configuration based on this template.

# Download and edit the ./.datalayer/dlarc file.
mkdir ~/.datalayer && \
  curl -Lo ~/.datalayer/dlarc https://raw.githubusercontent.com/datalayer/datalayer/master/etc/env/dlarc.template

Add in your ~/.bashrcfile the following lines (update the paths to map your setup).

# Append to and edit your ~/.bash_profile file.
curl -sS https://raw.githubusercontent.com/datalayer/datalayer/master/etc/env/bash_profile.template >> ~/.bash_profile

results matching ""

    No results matching ""