mirror of
https://github.com/penpot/penpot.git
synced 2025-08-03 16:18:23 +02:00
Import docker related files.
This commit is contained in:
parent
de57630c14
commit
94aee02fb9
10 changed files with 1332 additions and 0 deletions
26
docker/files/start.sh
Executable file
26
docker/files/start.sh
Executable file
|
@ -0,0 +1,26 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
tmux -2 new-session -d -s uxbox
|
||||
|
||||
tmux new-window -t uxbox:1 -n 'figwheel'
|
||||
tmux select-window -t uxbox:1
|
||||
tmux send-keys -t uxbox 'cd uxbox' enter C-l
|
||||
tmux send-keys -t uxbox 'npm run figwheel' enter
|
||||
|
||||
tmux new-window -t uxbox:2 -n 'backend'
|
||||
tmux select-window -t uxbox:2
|
||||
tmux send-keys -t uxbox 'cd uxbox-backend' enter C-l
|
||||
tmux send-keys -t uxbox 'bash ./scripts/fixtures.sh' enter
|
||||
tmux send-keys -t uxbox 'bash ./scripts/run.sh' enter
|
||||
|
||||
tmux new-window -t uxbox:3 -n 'services'
|
||||
tmux select-window -t uxbox:3
|
||||
tmux send-keys -t uxbox 'sudo pg_ctlcluster 9.5 main start' enter
|
||||
|
||||
tmux rename-window -t uxbox:0 'gulp'
|
||||
tmux select-window -t uxbox:0
|
||||
tmux send-keys -t uxbox 'cd uxbox' enter C-l
|
||||
tmux send-keys -t uxbox 'if [ ! -e ./node_modules ]; then npm install; fi' enter C-l
|
||||
tmux send-keys -t uxbox 'npm run watch' enter
|
||||
|
||||
tmux -2 attach-session -t uxbox
|
Loading…
Add table
Add a link
Reference in a new issue