0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00

Start backend automatically for dev

This commit is contained in:
mathieu.brunot 2019-02-20 16:46:59 +01:00
parent 36d029b597
commit fed29ec929
No known key found for this signature in database
GPG key ID: 81584BEAF692D7E0

View file

@ -5,7 +5,7 @@ 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/frontend' enter C-l
tmux send-keys -t uxbox "sed -i -e 's/\"uxbox.config.url\" \".*\"/\"uxbox.config.url\" \"${API_URL}\"/g' figwheel.clj" enter C-l
tmux send-keys -t uxbox "sed -i -e 's/\"uxbox.config.url\" \".*\"/\"uxbox.config.url\" \"${UXBOX_CONFIG_URL}\"/g' figwheel.clj" enter C-l
tmux send-keys -t uxbox 'npm run figwheel' enter
tmux new-window -t uxbox:2 -n 'backend'