mirror of
https://github.com/ben-grande/qusal.git
synced 2024-12-26 16:09:47 -05:00
45 lines
1.1 KiB
Markdown
45 lines
1.1 KiB
Markdown
|
# dev
|
||
|
|
||
|
Development environment in Qubes OS.
|
||
|
|
||
|
## Table of Contents
|
||
|
|
||
|
* [Description](#description)
|
||
|
* [Installation](#installation)
|
||
|
* [Usage](#usage)
|
||
|
|
||
|
## Description
|
||
|
|
||
|
Setup a development qube named "dev". Defines the user interactive shell,
|
||
|
installing goodies, applying dotfiles, being client of sys-pgp, sys-git and
|
||
|
sys-ssh-agent.
|
||
|
|
||
|
## Installation
|
||
|
|
||
|
- Top
|
||
|
```sh
|
||
|
qubesctl top.enable dev
|
||
|
qubesctl --targets=tpl-dev,dvm-dev,dev state.apply
|
||
|
qubesctl top.disable dev
|
||
|
```
|
||
|
|
||
|
- State
|
||
|
<!-- pkg:begin:post-install -->
|
||
|
```sh
|
||
|
qubesctl state.apply dev.create
|
||
|
qubesctl --skip-dom0 --targets=tpl-dev state.apply dev.install
|
||
|
qubesctl --skip-dom0 --targets=dvm-dev state.apply dev.configure-dvm
|
||
|
qubesctl --skip-dom0 --targets=dev state.apply dev.configure
|
||
|
```
|
||
|
<!-- pkg:end:post-install -->
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
The development qube `dev` can be used for:
|
||
|
|
||
|
- code development;
|
||
|
- building programs;
|
||
|
- signing commits, tags, pushes and verifying with split-gpg;
|
||
|
- fetching and pushing to and from local qube repository with split-git; and
|
||
|
- fetching and pushing to and from remote repository with split-ssh-agent.
|