container: freedombox-develop callable from anywhere

Signed-off-by: Fioddor Superconcentrado <fioddor@gmail.com>
This commit is contained in:
Fioddor Superconcentrado 2021-08-22 17:45:12 +02:00 committed by Sunil Mohan Adapa
parent 0a2091a366
commit 426cdefd71
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2
2 changed files with 4 additions and 5 deletions

View File

@ -115,10 +115,9 @@ directory:
guest$ cd /freedombox guest$ cd /freedombox
``` ```
Run the development version of FreedomBox Service (Plinth) from your source Run the development version of FreedomBox Service in the container using the
directory in the container using the following command. This command following command. This command continuously deploys your code changes into the
continuously deploys your code changes into the container providing a container providing a quick feedback cycle during development.
quick feedback cycle during development.
```bash ```bash
guest$ freedombox-develop guest$ freedombox-develop

View File

@ -164,7 +164,7 @@ sudo apt-mark unhold freedombox
sudo DEBIAN_FRONTEND=noninteractive apt-get install --yes ncurses-term \ sudo DEBIAN_FRONTEND=noninteractive apt-get install --yes ncurses-term \
sshpass bash-completion sshpass bash-completion
echo 'alias freedombox-develop="sudo -u plinth /freedombox/run --develop"' \ echo 'alias freedombox-develop="cd /freedombox; sudo -u plinth /freedombox/run --develop"' \
>> /home/fbx/.bashrc >> /home/fbx/.bashrc
# Make some pytest related files and directories writable to the fbx user # Make some pytest related files and directories writable to the fbx user