File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed
Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -191,3 +191,23 @@ pnpm run dev
191191
192192The (minimal) web application will be accessible at: http://localhost:5173
193193The api workbench will be accessible at: http://localhost:5174
194+
195+ # # 4 Forking
196+
197+ The following linux commands can be used to rename " protoapp" to " myproject" in a fork
198+ of this repo:
199+
200+ ```
201+ git mv adl/{protoapp,myproject}
202+ git mv rust/adl/src/gen/{protoapp,myproject}
203+ git mv rust/server/src/bin/{protoapp,myproject}-server.rs
204+ git mv rust/server/src/bin/{protoapp,myproject}-tools.rs
205+ git mv ts/adl/src/{protoapp,myproject}
206+ sed -i -e 's|protoapp|myproject|g' $(git ls-files)
207+ sed -i -e 's|Protoapp|MyProject|g' $(git ls-files)
208+ sed -i -e 's|PROTOAPP|MYPROJECT|g' $(git ls-files)
209+ deno task genadl
210+ ```
211+
212+ macos sed doesn't support multi file in place updates, so an alternative tool will
213+ be required.
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ const App: React.FC = () => {
106106
107107 return (
108108 < div >
109- < h1 > ProtoApp </ h1 >
109+ < h1 > Protoapp </ h1 >
110110
111111 { accessToken === null ?
112112 < form onSubmit = { handleLogin } >
You can’t perform that action at this time.
0 commit comments