Skip to content

Latest commit

Β 

History

History
68 lines (43 loc) Β· 2.75 KB

File metadata and controls

68 lines (43 loc) Β· 2.75 KB

ArcAO Front End Template

This template is part of ArcAO Templates, designed to help you get your game idea up and running fast!

A modern web application template built with:

  • React - A JavaScript library for building user interfaces
  • TypeScript - JavaScript with syntax for types
  • Vite - Next Generation Frontend Tooling
  • ArNS - The Permaweb Name System for permanent web deployment

This template provides a minimal setup to get started with React development and automated deployment to both the permaweb (via ArNS) and traditional hosting servers.

Getting Started

For development setup instructions, please see our Development Guide.

Deployment Options

This template supports two deployment methods, both automated via GitHub Actions:

1. Permaweb Deployment (Arweave/ArNS)

Deploy your application to the permanent web using Arweave's decentralized storage and ArNS for permanent, censorship-resistant hosting.

Requirements:

  • Arweave wallet with Turbo Credits
  • ArNS name ownership or controller access
  • GitHub secrets: DEPLOY_KEY
  • GitHub variables: DEPLOY_ARNS_NAME, DEPLOY_UNDERNAME (optional)

πŸ“– Full Permaweb Deployment Guide

2. Traditional Server Deployment (SSH/SCP)

Deploy your application to a physical server or VPS via SSH/SCP with automatic nginx reload.

One-Time Setup (choose what applies):

GitHub Configuration:

  • GitHub secrets: SSH_PRIVATE_KEY, SERVER_IP

What's Automated:

  • βœ… Build process
  • βœ… Directory creation on server (/home/deploy/YOUR-REPO-NAME/)
  • βœ… File transfer via SCP
  • βœ… Nginx reload

πŸ“– Complete SSH Deployment Documentation

Deployment Triggers

Both deployments are triggered automatically on every push to the master branch. You can disable either workflow by deleting or disabling the respective workflow file in .github/workflows/.

Quick Reference

Need a quick summary of all secrets, variables, and setup steps? Check out the Deployment Quick Reference.

License

See LICENSE for more information.