I'm trying to make it easier for a non-techy person to deploy to heroku.
In order to commit you make a git-push, like this:
git commit -a -m "autocommit"
git push heroku master
The end user of this solution isn't very comfortable with terminal commands. Is it possible to create a file that, once double-clicked will trigger theese commands in the terminal?
I ended up naming the file deploy.command. After that I went to the terminal and executed chmod +x deploy.command
that worked!
Yeah, through Automator or AppleScript. Both can be saved as self-executables that run terminal commands.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.