Self-Hosting Aera
Follow the steps below to set up the Aera platform on your local machine.
1. Start the Docker-Compose Stack
cd ../docker
cp middleware.env.example middleware.env
# Change the profile to another vector database if you're not using Weaviate
docker compose -f docker-compose.middleware.yaml --profile weaviate -p aera up -d
cd ../api2. Copy .env.example to .env
.env.example to .envcp .env.example .env3. Generate a SECRET_KEY in the .env File
SECRET_KEY in the .env Filesed -i "/^SECRET_KEY=/c\SECRET_KEY=$(openssl rand -base64 42)" .envsecret_key=$(openssl rand -base64 42)
sed -i '' "/^SECRET_KEY=/c\\
SECRET_KEY=${secret_key}" .env4. Create Environment
5. Install Dependencies
6. Run Migrate
7. Start Backend
8. Start Aera Web Service
9. Set Up Your Application
10. Handle and Debug Async Tasks
Testing
1. Install Dependencies for Both Backend and Test Environment
2. Run Tests Locally with Mocked System Environment Variables
Frontend Setup
Getting Started
Deploy on Server
Last updated