Installation
Get started with Accumo in your project. Follow these steps to install and configure your development environment.
Prerequisites
Before you begin, make sure you have the following installed:
- Node.js 18.x or later
- pnpm 8.x or later
- A Cloudflare account
- Wrangler CLI (optional, but recommended)
Quick Start
The fastest way to get started is to use our CLI:
pnpm create cloudflare-workers-saas my-app
This will create a new directory with a basic project structure and install all dependencies.
Manual Setup
If you prefer to set up your project manually, follow these steps:
- Clone the repository:
git clone https://github.com/yourusername/your-repo.git my-app
- Install dependencies:
cd my-app pnpm install
- Set up environment variables:
cp .env.example .env cp .dev.vars.example .dev.vars
- Initialize the database:
pnpm db:migrate:dev
Configuration
After installation, you'll need to configure your environment variables and Cloudflare settings:
- Open
.env
and fill in your environment variables - Open
.dev.vars
and add your Cloudflare credentials - Update
wrangler.toml
with your project settings
After making changes to wrangler.toml
, run pnpm cf-typegen
to update TypeScript types.
Development
Start the development server:
pnpm dev
Your application will be available at http://localhost:3000
.