This guide is for MacOS users with zero tech knowledge and is based off of Lemiscate’s guide for windows users.
https://twitter.com/lemiscate/status/1559483675741507584?s=20&t=hVIlvg9S_nLDa-3QmVlWvg
<aside> ⚠️ READ FIRST:
look like this
in this guide is code. What is meant to be copied & pasted into your terminal is written in red + pink and in a light grey box such as this example:➜ aave_interface git:(main) yarn dev
</aside>
The Front-end is the layer of a web application that is “in front of” the user: it’s the part seen by the user and which the user can interact with, like a website, mobile app.
In the case of a decentralised application, it’s the layer that’s on top of the blockchain and allows the user to interact with it.
If for any reason you cannot see the website when you send a request on your browser to go to https://app.aave.com, fear no more as it is possible to run your own front-end locally (= on your computer) to access the protocol.
Install git ⇒ https://git-scm.com/download/mac
Open your terminal, you should see this:
➜ ~
Now, create a new folder to add your future code, and navigate to it. I called mine “self_hosting_frontends”
<aside>
🔥 A good practice is to separate any code from the $HOME
folder (the ~
folder, or /Users/<your_name>
on Mac). Always create a new folder (with mkdir
) and go into it (with cd
). That’s where you’ll want to run the git clone
command later.
</aside>
➜ ~ mkdir self_hosting_frontends
➜ ~ cd self_hosting_frontends
Just making sure we have everything ready and in the right place on our computer. At this point we should be in our directory called “self_hosting_frontends”.