Created
August 9, 2022 10:58
-
-
Save kpavlovsky/68f0d77fbae8850bea938aec5d7febc0 to your computer and use it in GitHub Desktop.
Create a new Django SaaS from RayCast
This file contains 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
#!/usr/bin/osascript | |
# Required parameters: | |
# @raycast.schemaVersion 1 | |
# @raycast.title Speedpy New Project | |
# @raycast.mode silent | |
# Optional parameters: | |
# @raycast.icon 🚀 | |
# @raycast.argument1 { "type": "text", "placeholder": "project name" } | |
on run argv | |
set create_command to "mv speedpycom-start-main " & {item 1 of argv} & " && cd " & {item 1 of argv} | |
tell application "iTerm.app" | |
activate | |
tell current window to set tb to create tab with default profile | |
tell current session of current window | |
write text "mkdir -p ~/src" | |
write text "cd ~/src" | |
write text "curl -sSL https://speedpy.com/get > speedpycom-start.zip" | |
write text "unzip speedpycom-start.zip" | |
write text create_command | |
write text "./init" | |
write text "open -a pycharm ." | |
end tell | |
end tell | |
end run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment