User Tools

Site Tools


Joomla says you aren't logged in
development:docker

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
development:docker [2016/05/11 18:46]
PhracturedBlue
development:docker [2017/02/16 11:18]
FDR [Building the Deviation Manual]
Line 48: Line 48:
 To get started run: ''​docker start -i deviation_build''​ To get started run: ''​docker start -i deviation_build''​
  
-Once your started the Docker container, it will update to the latest version of the build script, and then will try to checkout deviation if you did not provide a GIT repo.  Next a menu will be shown which allows you to choose what you would like to build.+Once you'​ve ​started the Docker container, it will update to the latest version of the build script, and then will try to checkout deviation if you did not provide a GIT repo.  Next a menu will be shown which allows you to choose what you would like to build.
  
 {{:​development:​docker_screen.png?​600|}} {{:​development:​docker_screen.png?​600|}}
  
-Initially, '​default' ​an '​emu_default'​ are selected. ​ This will build all zip files that are normally part of a nightly build.+Initially, '​default' ​and '​emu_default'​ are selected. ​ This will build all zip files that are normally part of a nightly build.
  
 The '​Shell'​ command will provide an interactive Linux shell inside the image. ​ This is likely only useful for developers or users familiar with Linux The '​Shell'​ command will provide an interactive Linux shell inside the image. ​ This is likely only useful for developers or users familiar with Linux
Line 73: Line 73:
 ==== Building the Deviation Manual ==== ==== Building the Deviation Manual ====
 The docker image is also capable of building the deviation manual. The docker image is also capable of building the deviation manual.
-After creating the Docker container, start docekr ​and enter the Shell. +After creating the Docker container, start docker ​and enter the Shell. 
-run: ''​sudo /​root/​build.py --manual-prereq''​ to install the necessary build environment+Run: ''​%%sudo /​root/​build.py --manual-prereq%%''​ to install the necessary build environment 
 Next (still from the docker shell), run: Next (still from the docker shell), run:
 ''​cd /git; git clone https://​github.com/​DeviationTX/​deviation-manual''​ ''​cd /git; git clone https://​github.com/​DeviationTX/​deviation-manual''​
  
 You can now build the manual using make or dmake. You can now build the manual using make or dmake.
-For instance, from within the docker shell and run:+ 
 +For instance, from within the docker shell run:
 ''​cd deviation-manual;​ make TARGET=devo10 html pdf''​ ''​cd deviation-manual;​ make TARGET=devo10 html pdf''​
  
 Or from outside the docker shell (note that this assumes you have added dmake to your PATH): Or from outside the docker shell (note that this assumes you have added dmake to your PATH):
 ''​cd <path to git repo>/​deviation-manual''​ ''​cd <path to git repo>/​deviation-manual''​
 +
 ''​dmake TARGET=devo8 html pdf''​ ''​dmake TARGET=devo8 html pdf''​
  
development/docker.txt (170651 views) · Last modified: 2017/04/10 01:08 by mwm