Development¶
Note
This document describes steps how to setup minimal environment for development or testing purposes.
Windows¶
To setup minimal development environment on Windows, you will need:
- Install PyCharm (Community Edition is fine)
- Clone the dev repository:
git clone -b dev https://github.com/anthill-platform/anthill-dev.git
cd anthill-dev
git submodule update --init --recursive
- Run installation script
cd dev\win
setup.bat
This will install Scoop, and Scoop will install all of the required components.
Open cloned repo in PyCharm.
Setup the Project Interpreter.
To do that, go to
Preferences
, selectProject Interpreter
, selectShow All
from the dropdown, hit “+”, selectAdd Local
, and feed it withC:\Anthill\venv\Scripts\python.exe
.Select
all
run configuration, hit RunOpen http://localhost:9500 in your browser
Press “Proceed”, login using username
root
and passwordanthill
. You should see something like this:
Mac OS X¶
To setup minimal development environment on Mac Os X, you will need:
- Install PyCharm (Community Edition is fine)
- Clone the dev repository:
git clone -b dev https://github.com/anthill-platform/anthill-dev.git
cd anthill-dev
git submodule update --init --recursive
- Run installation script
cd dev/osx
./setup.sh
This will install Homebrew, and Homebrew will install all of the required components.
Open cloned repo in PyCharm.
Setup the Project Interpreter.
To do that, go to
Preferences
, selectProject Interpreter
, selectShow All
from the dropdown, hit “+”, selectAdd Local
, and feed it with/usr/local/anthill/venv/bin/python
.Select
all
run configuration, hit RunOpen http://localhost:9500 in your browser
Press “Proceed”, login using username
root
and passwordanthill
. You should see something like this:
Linux¶
There is no development environment for Linux as of yet. See Installation (on Linux) for more information.