Page cover

Installation Guide: Axion Framework

Prerequisites

Before installing the Axion Framework, ensure you have the following tools and software installed:

  1. Python 3.9 or Later

  2. Git

    • Clone the repository using Git. Install from git-scm.com.

  3. Package Manager (pip)

    • Pip comes pre-installed with Python. If it’s missing, you can install it using:

      bashCopy codepython -m ensurepip --upgrade
  4. Redis (for task queues and swarm consensus)

    • Install Redis via:

      bashCopy codesudo apt-get install redis

      Or download it from redis.io.

  5. Database (Optional) Install depending on your project needs:


Step 1: Clone the Repository

Clone the Axion Framework repository:


Step 2: Set Up a Virtual Environment

It’s recommended to use a virtual environment to avoid dependency conflicts:


Step 3: Install Dependencies

Install the required packages using pip:


Step 4: Configure Environment Variables

Set up your environment variables for blockchain integrations, IPFS, and other services. Create a .env file in the root directory:


Step 5: Start Redis

Ensure Redis is running:


Step 6: Run Axion Framework

Launch the framework and start interacting with your decentralized swarm:


Optional: Additional Integrations

  1. MongoDB: Ensure your MongoDB server is running:

  2. Neo4j: Start Neo4j from your terminal or GUI:

  3. Qdrant: Start Qdrant on your local server or cloud instance.

  4. SQLite: No additional setup is required; SQLite is file-based and ready to use.


Troubleshooting

  • Issue: ModuleNotFoundError

    • Solution: Ensure all dependencies are installed using:

  • Issue: redis.exceptions.ConnectionError

    • Solution: Confirm that Redis is running on the correct host and port.

  • Issue: FileNotFoundError for wallet paths

    • Solution: Verify the .env file configuration and ensure the file paths are valid.

Last updated