following this tutorial will take you exactly 28 minutes, and you will have everything set up by then.
open a new new terminal window. two. let them be two.
and put them side by side.
on the left (T1) you will run the frontend (nextjs app)
on the right (T2) you will run the backend (nodejs server)
![](https://storage.googleapis.com/papyrus_images/7a698c5429f9237c169c0b06b77b5b27.png)
navigate both of them to the place in your computer where you want to store this code. my recommendation:
create a new folder called anky_code somewhere, and navigate into that with both T1 and T2. (mkdir anky_code
- only once, cd anky_code
on both)
on T2, clone https://github.com/ankylat/server-s3.git (git clone https://github.com/ankylat/server-s3.git
)
navigate into the server's folder (cd server-s3
)
open dotenvexample.txt (nano .env
)
copy what is inside it
create a new file called .env (touch .env
)
open it (nano .env
and paste inside it the variables)
fill in those environment variables the necessary information (ALCHEMY_RPC_URL, DATABASE_URL -postgres database, i use one deployed on render-, PRIVY_APP_ID -the same you will use for the frontend, PRIVY_APP_SECRET, PRIVY_APP_KEY)
run the server (node app.js
on the root folder)
now it is time to run the frontend
head to T1, and now clone https://github.com/ankylat/third_sojourn_web_app.git (git clone https://github.com/ankylat/third_sojourn_web_app.git
)
navigate into it (cd third_sojourn_web_app
)
run the frontend (npm run dev
)
go to your favorite browser of choice, in my case it is chrome (where i have the wallet of anky installed)
head to localhost:3001
and vualá. you should see this:
![](https://storage.googleapis.com/papyrus_images/fdd6bfa0129e97a319a38f638759ac9f.png)
all of the code for this system is open source, and you are welcome to contribute since the moment on which you are reading these words.
thank you for your trust.
any questions, feel free to ask them down here.
![highlight](/api/highlight?text=how%20to%20run%20the%20codebase%20of%20%2Fanky&author=anky&url=%40ankytheape&avatarUrl=https%3A%2F%2Fstorage.googleapis.com%2Fpapyrus_images%2Fb40b9587fdecc35a83a02ccde4760fa6.png&featuredImageUrl=https%3A%2F%2Fstorage.googleapis.com%2Fpapyrus_images%2Ff5a3ac3049b62afa3971775a6507037a.jpg&size=512)
![anky logo](/_next/image?url=https%3A%2F%2Fstorage.googleapis.com%2Fpapyrus_images%2Fb40b9587fdecc35a83a02ccde4760fa6.png&w=384&q=75)