Welcome to the world of Origami! This exciting AI-as-a-service platform allows researchers to convert their deep learning models into online services effortlessly. Let’s explore how to set it up, enabling you to share your models widely with a simple REST API call.
Step-by-Step Installation Instructions
Origami runs seamlessly when installed on an Ubuntu 16.04 LTS virtual machine via Oracle’s VirtualBox. Here’s a quick guide to get you started on Windows.
Essential Steps to Install VirtualBox
Step 1: Downloading VirtualBox
Begin by visiting the Oracle’s VirtualBox website to download the latest version.
Step 2: Install and Start VirtualBox
Once the executable file is downloaded, run it. Follow the wizard’s instructions, accepting default settings, and disable any User Account Control (UAC) warnings if they appear.
Creating an Ubuntu Virtual Machine
Disabling Hyper-V
This step is crucial to ensure smooth operation. Press Windows Key + X and navigate to Apps and Features. Turn off Hyper-V to allow 64-bit virtual machines.
Downloading Ubuntu ISO
Get the Ubuntu 16.04 disk image from the release page here.
Setting Up the Virtual Machine
- Launch VirtualBox and click New.
- Follow the prompts to allocate memory and create a new hard drive.
- Attach the Ubuntu disk image to the virtual machine.
- Double-click the virtual machine to start it and install Ubuntu.
Installing Docker
To run Origami, you’ll need Docker. Follow the official Docker documentation for installation instructions.
Setting Up Environment Variables
You’ll need to set up specific environment variables to run Origami correctly. Create a file named `origami.env` and populate it with the required configurations:
HOST=localhost
PORT=8000
DB_NAME=your_database_name
DB_PASS=your_database_password
DB_USER=your_database_user
DB_USER_EMAIL=your_email
DB_HOST=localhost
REDIS_HOST=localhost
Launching the Server
To verify that everything works:
- Run the server:
python manage.py runserver - Start the worker in a new terminal:
python manage.py runworker - Open a third terminal and run:
yarn run dev
Finally, visit localhost:8000 to see your Origami app in action!
Troubleshooting Tips
- If you encounter issues with Docker installation, check your Internet connection and ensure Docker’s prerequisites are met.
- For any database connectivity issues, double-check your environment variable configurations in `origami.env`.
- If the application doesn’t start properly, confirm that all servers and worker processes are running in separate terminals.
For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.
Contributing to Origami
We always welcome contributions! Please run tests on your changes and ensure the code adheres to standard practices before pushing.
Analogy: Understanding the Installation Process
Think of installing Origami like setting up a new kitchen to prepare your favorite dish. First, you need to gather your tools (install VirtualBox). Next, you find a suitable recipe (download Ubuntu) and ensure you have all ingredients prepared and organized (set environment variables). Finally, you follow the step-by-step cooking instructions (install Docker and run the server) to whip up something delightful. Each step is essential for the final product to be successful and delicious!
Final Thoughts
At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.

