Development environment

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
m (Docker container)
Line 14: Line 14:
 
Get source files with  
 
Get source files with  
 
  git clone http://git.agocontrol.com/agocontrol/agocontrol.git \
 
  git clone http://git.agocontrol.com/agocontrol/agocontrol.git \
 
  
 
=== Install Docker on Linux ===
 
=== Install Docker on Linux ===
Line 21: Line 20:
 
  sudo systemctl start docker
 
  sudo systemctl start docker
 
  sudo usermod -aG docker pi      # Or another user of your choice
 
  sudo usermod -aG docker pi      # Or another user of your choice
 +
 +
== Compiling from source ==
 +
The docker container is build based on [[CompilingSource|Compiling from source]]

Revision as of 16:11, 5 January 2017

Contents

Development environment

Docker container

Get Docker container description and scripts from ago files

Place in e.g. /home/docker

Build your Docker development container with ./build_container.sh - this will take more than an hour.

Create a directory for storing the build files permanently, e.g. /home/dev/

Start the Docker container with ./start_builder.sh

Get source files with

git clone http://git.agocontrol.com/agocontrol/agocontrol.git \

Install Docker on Linux

curl -sSL get.docker.com | sh
sudo systemctl enable docker
sudo systemctl start docker
sudo usermod -aG docker pi       # Or another user of your choice

Compiling from source

The docker container is build based on Compiling from source

Personal tools