Set Up Workspace & Repository
Setting up your Oxy workspace and configuring your repository
After setting up the server infrastructure, you need to create or copy your Oxy workspace directory and configure your repository.
Create Workspace Directory
Create a directory for your Oxy workspace on the server:
Configure Repository
Depending on your setup, you can either use Git to manage your Oxy files or manually set up your workspace.
If you’re using Git to manage your workspace:
- Install Git and configure credentials:
- Set up SSH keys for Git access:
-
Add the public key to your GitHub account settings.
-
Clone your Oxy repository:
If you’re using Git to manage your workspace:
- Install Git and configure credentials:
- Set up SSH keys for Git access:
-
Add the public key to your GitHub account settings.
-
Clone your Oxy repository:
If you’re not using Git:
- Manually copy your workspace files to the server using tools like SCP or SFTP:
- Navigate to your workspace directory:
Verify Workspace Structure
Ensure your workspace has the necessary structure and files:
A typical Oxy workspace should include:
config.yml
- Main configuration file- Agent definitions (
.agent.yml
files) - Workflow definitions (
.workflow.yml
files) - SQL queries (
.sql
files) - Semantic models (
.sem.yml
files)
Update systemd Service Configuration
If you’ve already set up Oxy as a systemd service, update the service file to point to your actual workspace path:
Now that your workspace is set up, proceed to configure the environment variables and secrets.