@@ -125,106 +125,102 @@ That's it! Codify will install the packages, configure git, and set up your shel
125125
126126``` json
127127[
128- {
129- "type" : " homebrew" ,
130- "formulae" : [" git" , " postgresql" , " redis" ],
131- "casks" : [" docker" ]
132- },
133- {
134- "type" : " nvm" ,
135- "nodeVersions" : [" 20.0.0" , " 18.0.0" ],
136- "defaultVersion" : " 20.0.0"
137- },
138- {
139- "type" : " git-repository" ,
140- "parentDirectory" : " ~/projects" ,
141- "repositories" : [
142- " git@github.com:myorg/frontend.git" ,
143- " git@github.com:myorg/backend.git"
144- ]
145- },
146- {
147- "type" : " vscode"
148- }
128+ {
129+ "type" : " homebrew" ,
130+ "formulae" : [" postgresql@18" , " redis" ]
131+ },
132+ {
133+ "type" : " nvm" ,
134+ "nodeVersions" : [" 20.0.0" , " 18.0.0" ],
135+ "global" : " 20.0.0"
136+ },
137+ {
138+ "type" : " git-repository" ,
139+ "parentDirectory" : " ~/projects" ,
140+ "repositories" : [
141+ " git@github.com:myorg/frontend.git" ,
142+ " git@github.com:myorg/backend.git"
143+ ]
144+ },
145+ {
146+ "type" : " vscode"
147+ },
148+ {
149+ "type" : " docker"
150+ }
149151]
150152```
151153
152154### Python Data Science Environment
153155
154156``` json
155157[
156- {
157- "type" : " homebrew" ,
158- "formulae" : [" python" , " jupyter" ]
159- },
160- {
161- "type" : " pyenv" ,
162- "pythonVersions" : [" 3.11.0" , " 3.10.0" ],
163- "global" : " 3.11.0"
164- },
165- {
166- "type" : " pip" ,
167- "packages" : [" pandas" , " numpy" , " matplotlib" , " scikit-learn" ]
168- },
169- {
170- "type" : " venv-project" ,
171- "directory" : " ~/data-science" ,
172- "pythonVersion" : " 3.11.0"
173- }
158+ {
159+ "type" : " pyenv" ,
160+ "pythonVersions" : [" 3.11.0" , " 3.10.0" ],
161+ "global" : " 3.11.0"
162+ },
163+ {
164+ "type" : " pip" ,
165+ "install" : [" pandas" , " numpy" , " matplotlib" , " scikit-learn" ]
166+ },
167+ {
168+ "type" : " venv-project" ,
169+ "envDir" : " .venv" ,
170+ "cwd" : " ~/data-science" ,
171+ "automaticallyInstallRequirementsTxt" : true
172+ }
174173]
175174```
176175
177176### DevOps Toolkit
178177
179178``` json
180179[
181- {
182- "type" : " homebrew" ,
183- "formulae" : [" terraform" , " kubectl" , " helm" , " aws-cli" ]
184- },
185- {
186- "type" : " aws-profile" ,
187- "profileName" : " production" ,
188- "region" : " us-east-1"
189- },
190- {
191- "type" : " docker" ,
192- "install" : true
193- },
194- {
195- "type" : " ssh-key" ,
196- "path" : " ~/.ssh/id_ed25519" ,
197- "type" : " ed25519"
198- }
180+ {
181+ "type" : " homebrew" ,
182+ "formulae" : [" kubernetes-cli" , " helm" ]
183+ },
184+ { "type" : " aws-cli" },
185+ {
186+ "type" : " aws-profile" ,
187+ "profile" : " production" ,
188+ "awsAccessKeyId" : " AKIA..." ,
189+ "awsSecretAccessKey" : " TOP_SECRET"
190+ },
191+ {
192+ "type" : " docker"
193+ },
194+ {
195+ "type" : " ssh-key" ,
196+ "passphrase" : " "
197+ },
198+ {
199+ "type" : " terraform"
200+ }
199201]
200202```
201203
202204### Shell Productivity Setup
203205
204206``` json
205207[
206- {
207- "type" : " aliases" ,
208- "aliases" : [
209- { "alias" : " g" , "value" : " git" },
210- { "alias" : " d" , "value" : " docker" },
211- { "alias" : " k" , "value" : " kubectl" },
212- { "alias" : " tf" , "value" : " terraform" }
213- ]
214- },
215- {
216- "type" : " path" ,
217- "paths" : [
218- " /usr/local/bin" ,
219- " $HOME/.local/bin" ,
220- " $HOME/scripts"
221- ]
222- },
223- {
224- "type" : " action" ,
225- "name" : " update-system" ,
226- "script" : " brew update && brew upgrade"
227- }
208+ {
209+ "type" : " aliases" ,
210+ "aliases" : [
211+ { "alias" : " g" , "value" : " git" },
212+ { "alias" : " d" , "value" : " docker" },
213+ { "alias" : " k" , "value" : " kubectl" },
214+ { "alias" : " tf" , "value" : " terraform" }
215+ ]
216+ },
217+ {
218+ "type" : " path" ,
219+ "paths" : [
220+ " $HOME/.local/bin" ,
221+ " $HOME/scripts"
222+ ]
223+ }
228224]
229225```
230226
0 commit comments