Skip to content

Files

Failed to load latest commit information.

Latest commit

 Cannot retrieve latest commit at this time.

History

History
 
 

contributing

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

🙋‍♀️ Contributing

We welcome all contributions to Mage; from small UI enhancements to brand new cleaning actions. We love seeing community members level up and give people power-ups!

Got questions? Live chat with us in Slack Slack

Anything you contribute, the Mage team and community will maintain. We’re in it together!

  1. Set up development environment
  2. Debugging
  3. Guides

Set up development environment

First, create a new project:

$ ./scripts/init.sh [project_name]

Run the below script to build the Docker image and run all the services:

$ ./scripts/dev.sh [project]

Debugging

Instead of using breakpoint(), add the following line to your code where you want a debug:

import pdb; pdb.set_trace()

Attach to running container to use debugger. To get the container ID, run docker ps and look in the NAMES column.

$ docker attach [container_id]

Backend server

Code for the web server is in mage_ai/server/.

Front-end app

Code for the front-end app is in mage_ai/frontend/.

Guides

  1. How to add a new chart type