🐳 Minor improvements on devenv docker image.

This commit is contained in:
Andrey Antukh 2021-03-17 15:54:50 +01:00 committed by Andrés Moya
parent 4a58a429d4
commit dd4930e055
5 changed files with 35 additions and 89 deletions

View file

@ -1,17 +1,13 @@
#!/usr/bin/env bash
sudo cp /root/.bashrc /home/penpot/.bashrc
sudo cp /root/.vimrc /home/penpot/.vimrc
sudo cp /root/.tmux.conf /home/penpot/.tmux.conf
source /home/penpot/.bashrc
sudo chown penpot:users /home/penpot
cd ~;
set -e;
source ~/.bashrc
set -e;
echo "[start-tmux.sh] Installing node dependencies"
pushd ~/penpot/frontend/
yarn install
@ -43,6 +39,6 @@ tmux send-keys -t penpot './scripts/start-dev' enter
tmux rename-window -t penpot:0 'gulp'
tmux select-window -t penpot:0
tmux send-keys -t penpot 'cd penpot/frontend' enter C-l
tmux send-keys -t penpot 'npx gulp --theme=${PENPOT_THEME} watch' enter
tmux send-keys -t penpot 'npx gulp watch' enter
tmux -2 attach-session -t penpot