Last active
March 12, 2016 08:42
-
-
Save aalin/c5694109fc99b48ba54c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put this in your project root and create a symlink from ~/.tmuxinator/projectname.yml | |
name: <%= File.basename(path, '.*') %> | |
root: <%= | |
begin | |
File.dirname(File.readlink(path)) | |
rescue | |
puts "#{path} should be symlinked from your project root." | |
exit 1 | |
end | |
%> | |
windows: | |
- docker: | |
layout: main-vertical | |
panes: | |
- "docker-compose up" | |
- api: | |
layout: main-vertical | |
panes: | |
- "cd web-api\nrails server -b 127.0.0.1 -p 2610" | |
- frontend: | |
layout: main-vertical | |
panes: | |
- "cd web-frontend\nAPI_HOST=http://127.0.0.1:2610 PORT=2600 npm run websdk:start" | |
- "cd web-frontend\nnpm run websdk:test" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment