Quick Start Guide¶
This guide will help you get AeroDB up and running on your local machine in minutes.
Prerequisites¶
Before you begin, ensure you have the following installed:
- Rust (1.70 or later):
rustc --version - Node.js (18 or later):
node --version - Git:
git --version
Step 1: Clone the Repository¶
Step 2: Build the Backend¶
Compile the Rust backend in release mode for optimal performance:
Compilation Time
The first build might take a few minutes as it compiles all dependencies. Subsequent builds will be much faster.
Step 3: Install Frontend Dependencies¶
Navigate to the admin console directory and install the necessary packages:
Step 4: Run the Server¶
Start the AeroDB backend server:
You should see output indicating the server is running on http://localhost:54321.
Step 5: Start the Dashboard¶
In a new terminal window, start the frontend development server:
Open your browser and navigate to http://localhost:5173.
Step 6: First-Run Setup¶
Since this is a fresh installation, you will be redirected to the Setup Wizard.
- Welcome: Click "Start Setup".
- Storage: Choose where AeroDB should store its data. The defaults (
./data,./wal, etc.) are fine for development. - Authentication: Set your JWT expiration preferences (e.g., 24 hours).
- Admin User: Create your super-admin account. Remember these credentials!
- Review: Confirm your settings.
- Complete: Click "Go to Dashboard".
Next Steps¶
Congratulations! You now have a running instance of AeroDB.
Production Deployment
For production environments, ensure you configure HTTPS and use a process manager like systemd or supervisord.