Quick Start Guide
Get up and running with Rust Terminal Forge in minutes.
Prerequisites
- Node.js 16+ (recommend using nvm)
- Rust toolchain (install via rustup)
- wasm-pack (
cargo install wasm-pack
) - npm or Yarn
- Git
Local Development
1. Clone the Repository
2. Install Dependencies
3. Start the Development Server
Open http://localhost:8080 in your browser.
4. Build for Production
# Build the Rust WebAssembly package for production
wasm-pack build --release
# Build the frontend
npm run build
# or
yarn build
The production build will be in the dist/
directory.
5. Preview Production Build
Project Scripts
dev
: Start development serverbuild
: Create production buildpreview
: Preview production build locallytest
: Run testslint
: Run ESLintformat
: Format code with Prettier
Deployment
The project is automatically deployed to GitHub Pages on every push to the main
branch. Pull requests generate preview deployments for review.
Manual Deployment
-
Build the project:
-
Deploy to GitHub Pages:
Next Steps
- Explore the Details for advanced configuration
- Learn about the terminal features
- Check out the keyboard shortcuts