- Requires Python 3.4+
- All functionality is collected under the single
akb
command which will be installed automatically
- To support multiple targets, will be changing to Confetti
- To make it more generic, will be changing the name to BookBuilder, bb
- Download and unzip this package (or
git clone
it) - Move to the base directory where you unzipped or cloned it
- You must set up the virtual environment before you can use
akb
. - You only need to do this the first time, after installation
- At the end of your
.bashrc
file, set theATOMIC_KOTLIN_BUILDER
environment variable to the base directory of your installation. For example:
export set ATOMIC_KOTLIN_BUILDER=/mnt/c/Users/bruce/Documents/Git/AtomicKotlinBuilder
Start a new bash shell or move to your home directory and source .bashrc
.
-
Move to the base directory. Run
python3 -m venv virtualenv
at the bash prompt. (You might have to first executesudo apt-get install python3.4-venv
to get this to work). -
Then run
source ./virtualenv/bin/activate
at the bash prompt. -
Run
pip install .
at the bash prompt. You might need to installpip
first.
- You must enter the virtual environment before you can use
akb
. - Run
source ./virtualenv/bin/activate
at the bash prompt. - You'll know that you're inside the virtual environment because of the
(virtualenv)
at the beginning of your command prompt.
- You must enter the virtual environment before you can use
akb
. - Run
venv.bat
. The first time, this will set up the virtual environment and enter it. - From now on, running
venv
from the base directory will enter the virtual environment. - You'll know that you're inside the virtual environment because of the
(virtualenv)
at the beginning of your command prompt.
- Run
akb
. This will indicate the basic commands - To find out more about a command, run
akb
the_command--help
In either case, the (virtualenv)
will disappear from your command prompt.