Skip to content

philogicae/sui-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

sui-template

One-liner to auto-install & run (& dev) a fdevc runnable project for Sui template powered by fdevc

Curl Git Docker Python License: MIT Ask DeepWiki

Move Docs: Move-Book with AI

Quick Install

curl -fsSL https://raw.githubusercontent.com/philogicae/sui-template/main/install_and_run | bash

Project Structure

πŸ“ sui-template
 β”œβ”€β”€ install_and_run       # Auto-install script
 β”œβ”€β”€ launch.sh              # Container launcher
 β”œβ”€β”€ πŸ“ project             # Git project mount
 └── πŸ“ fdevc_setup          # Setup scripts mount
      └── runnable.sh         # Main container script
  • install_and_run - Installation script that ensures fdevc is available, clones this repository, and runs launch.sh.
  • launch.sh - Helper script to launch a container using fdevc with predefined settings. Edit the configuration variables at the top to customize ports, image, persistence, etc.
  • fdevc_setup/runnable.sh - The main script that runs inside the container (complete Sui setup).
  • project/ - The mounted target folder for git cloned project

Usage

Required: sui-template is running (quick install script or ran ./launch.sh directly)

  1. Import an existing config into ./fdevc_setup, else a new one will be created (client.yaml, sui.keystore, dev.passphrase).

  2. Import your dev passphrase (./fdevc_setup/dev.passphrase) in Slush browser extension and claim faucet.

  3. Try out Sui template at http://localhost:5173 (or any other forwarded port you configured)

  4. Open sui-template in your IDE and start coding!

About

One-liner to auto-install & run (& dev) Sui template in <2min

Topics

Resources

Stars

Watchers

Forks

Languages