Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TemplateStaticCornerstone3DViewport

Refer to Discord for setup

Navigate to folder and install dependency

cd static-viewport 
npm install

Create .env file in static-viewport

VITE_DISCORD_CLIENT_ID=YOUR_OAUTH2_CLIENT_ID_HERE
DISCORD_CLIENT_SECRET=YOUR_OAUTH2_CLIENT_SECRET_HERE

Navigate to client and run with Vite and proxy

cd client 
npm run dev
cloudflared tunnel --url http://localhost:5173

Navigate to server and run

cd server 
npm install
npm run dev

Change the env variables in server/src/app.ts if necessary

      client_id: process.env.VITE_CLIENT_ID,
      client_secret: process.env.CLIENT_SECRET,

Navigate to discord and URl Mapping

Use

Prefix: /, Target: the proxy link(i.e. korean-troy-bars-canon.trycloudflare.com)
Prefix: /amazon, Target: s3.amazonaws.com
Prefix: /cornerstone, Target: unpkg.com

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages