From Source
Prerequisites
Step 1: Clone Repository
git clone https://github.com/azutoolkit/authority.git
cd authorityStep 2: Install Dependencies
shards installStep 3: Set Up Database
createdb authority_dbStep 4: Configure Environment
Step 5: Run Migrations
Step 6: Seed Default Data (Optional)
Step 7: Start the Server
Production Build
Compile Release Binary
Run Production Server
Running Tests
Development Workflow
Watch for Changes
Database Reset
File Structure
Common Issues
Crystal not found
PostgreSQL connection refused
Shards install fails
Port already in use
Next Steps
Last updated
Was this helpful?