-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathdev.sh
More file actions
executable file
·57 lines (55 loc) · 1.38 KB
/
dev.sh
File metadata and controls
executable file
·57 lines (55 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/bash
osascript -e 'tell application "iTerm"
activate
create window with profile "Default"
tell the current window
tell the current session
delay 1
write text "npm start"
delay 1
end tell
end tell
end tell'
osascript -e 'tell application "iTerm"
activate
create window with profile "Default"
tell the current window
tell the current session
delay 1
write text "ganache-cli"
delay 1
end tell
end tell
end tell'
osascript -e 'tell application "iTerm"
activate
create window with profile "Default"
tell the current window
tell the current session
delay 1
write text "cd backend;sleep 15;./redis.sh;nodemon index.js"
delay 1
end tell
end tell
end tell'
#tell application "Chrome"
# open location "http://localhost:8000"
#end tell'
atom . -n
clevis test full
## you also need to pull in repos like zep
##
## I also had to:
## sudo npm install -g scrypt
## install "scrypt" manually ("sudo npm install -g scrypt")
## go to "ethereum-testrpc module folder"/node_modules/scrypt
## mv build buildold
## make a symbolic link to scrypt build folder e.g. "ln -s /usr/local/lib/node_modules/scrypt/build"
## then I got in there
## and did cp scrypt.node scrypt
##https://github.com/trufflesuite/ganache-cli/issues/134
## I went to /Users/austingriffith/cryptogs/gatsby-site/node_modules/scrypt
## mv build buildold
## ln -s /usr/local/lib/node_modules/scrypt/build
##
## had to move my ~/.node-gyp folder and regen