Installing alternat macOS¶
Install using pypi (macOS)¶
Install Node (>=v.12)
Install Python (>=3.8)
Install alternat:
pip install alternat
Install apify
mkdir -p ~/.alternat && cd ~/.alternat && npm install apify && cd -
Install from source (macOS)¶
Install git
Install Node (>=v.12)
Install Python (>=3.8)
Open terminal and clone the repo:
git clone https://github.com/keplerlab/alternat.git
Change the directory to the directory where you have cloned your repo
$cd path_to_the_folder_repo_cloned
Install apify
mkdir -p ~/.alternat && cd ~/.alternat && npm install apify && cd -
Install alternat using setup.py
python setup.py install
Installation using Anaconda python (macOS)¶
Install git
Install Node (>=v.12)
Install Python (>=3.8)
Open terminal and clone the repo:
git clone https://github.com/keplerlab/alternat.git
Change the directory to the directory where you have cloned your repo
$cd path_to_the_folder_repo_cloned
Create conda environment and install dependencies using alternat.yml file
cd setup_scripts conda env create --name alternat --file=alternat.yml
Activate newly created environment:
conda activate alternat
Install apify
mkdir -p ~/.alternat && cd ~/.alternat && npm install apify && cd -
Installation using Docker (macOS)¶
Download and Install Docker Desktop for Mac using link: https://docs.docker.com/docker-for-mac/install/
Clone this repo
Change your directory to the cloned repo.
Open terminal and run following commands:
cd <path-to-repo> //you need to be in your repo folder docker-compose up
In a new terminal window open terminal and enter into alternat docker container using command:
docker-compose exec alternat bash