Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.
/ Cubitorium Public archive

Final Snapshot Of God's Fifth Temple

License

Notifications You must be signed in to change notification settings

crisszkutnik/Cubitorium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cubitorium | final-thesis | 2023

Setup

  1. Install Node >= 18, NVM is recommended
  2. Install Yarn
  3. Install Rust, Solana and Anchor following this guide. Ignore yarn part as you already have it

Test the setup

  1. From client/ run yarn build. Check that the compiled frontend shows in client/dist
  2. From backend/ run yarn test. Backend will compile to backend/target and tests will run
    • If you only want to compile run yarn build

Running the app

We need to run a local validator, deploy the backend, and serve the frontend.

Run the validator

In one terminal:

cd ~
solana config set --url localhost
solana-test-validator

Deploy the backend

In another terminal:

cd backend
yarn build
anchor deploy

Alternatively, to compile, deploy, and load data all with one command:

cd backend
yarn init-backend

Serve the frontend

In any terminal that's not running something:

cd client
yarn dev

Now open localhost:5173 in your browser of preference.

Authors

Name Email FRBA email
Agustin Villareal [email protected] [email protected]
Cristobal Szkutnik [email protected] [email protected]
Guido Dipietro [email protected] [email protected]
Guido Enrique [email protected] [email protected]
Matias Davicino [email protected] [email protected]