Skip to content

OpenAgentsInc/gputopia

Repository files navigation

GPUtopia

GPUtopia is a marketplace for decentralized GPU compute and related AI services.

Read more in our FAQ.

This is the website and app UI at gputopia.ai.

Code is alpha/beta quality. App UI is on v4 beta and kinda works.

See opensource for more on how our three codebases work together.

Contributing

See bounties.

Running locally

You will need to create a .env.local file from .env.local.template and to fill at least the database, alby sections and set NEXTAUTH_SECRET to be able to log in.

Database

The app is using a mysql database. You can configure one easily using docker.

Then connect to your database and run the commands in createDB.sql

Alby

The app is using alby to authenticate users.

You will need to create an account on getalby.com and configure an OAuth application here. Make sure set the scope of your application to have permission for - account:read, balance:read, invoices:create, invoices:read

Run the project

$ yarn install
$ yarn dev

Using Docker

Make sure docker is running and then run

yarn setup

This will set up MySQL, Adminer default MySQL - username and password is root

Visit http://localhost:8080/?server=db&username=root&sql= and run the createDB.sql script Set the DATABASE_URL=mysql://root:root@127.0.0.1:8083/gputopia in .env.local