mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 19:18:31 +02:00
🐳 Minor improvements on devenv docker image.
This commit is contained in:
parent
4a58a429d4
commit
dd4930e055
5 changed files with 35 additions and 89 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue