Exporting Your Code
Learn how to export your Creatr-generated code using different methods.
Overview
Creatr allows you to export your generated web application code in multiple ways, giving you flexibility in how you work with your projects. Whether you need to integrate with version control, share with your development team, or run the code locally, there’s an export option that fits your workflow.
Export Methods
1. GitHub Export
Export your code directly to a GitHub repository for professional version control and collaboration.
Process:
- Click on the GitHub icon in the header
- Link your GitHub account if you haven’t already
- Configure repository details
- Create the repository with one click
Once created, your repository will contain all code files, properly structured and ready for further development.
Benefits:
- Full version control capabilities
- Easy collaboration with team members
- Integration with CI/CD pipelines
- Backup security
For detailed instructions on GitHub integration, see our GitHub Integration Guide.
2. ZIP Export
Download your entire project as a compressed ZIP file to your local machine.
Process:
- Click on the Export button in the top navigation bar
- Select “Download” from the dropdown menu
- Choose a location to save the ZIP file
- Extract the files when ready to work with them
Benefits:
- Quick and simple export process
- No additional accounts or tools required
- Perfect for offline backups
- Easily share your code via email or file sharing
3. CLI Export with creatrx
Use the creatrx command-line interface to export your project directly to your development environment.
Prerequisites:
- Node.js installed on your computer
Process:
- Click on the Export button in the top navigation bar
- Select “CLI Export (creatrx)” from the dropdown menu
- A modal will appear showing the CLI command specific to your project
- Click the copy button to copy the command to your clipboard
- Open your terminal or command prompt
- Paste and execute the command
The command will include your unique project identifier and authentication token, allowing the CLI tool to securely access and download your project files.
Benefits:
- Streamlined workflow for developers
- Direct integration with local development environment
- Perfect for teams using custom build processes
- Enables immediate local testing and extension
What’s Included in Exports
Regardless of which export method you choose, your export will include:
- Complete source code for your web application
- All assets (images, fonts, etc.)
- Configuration files
- Package dependencies
- Documentation (where applicable)
After Export
Once you’ve exported your code, you can:
- Extend It: Add custom functionality beyond what’s available in Creatr
- Run It Locally: Test and develop in your preferred local environment
- Deploy Elsewhere: Use custom hosting or advanced deployment options
- Integrate Services: Connect additional third-party services or APIs
Exporting your code gives you complete ownership of your project’s source files, allowing you to build upon the foundation that Creatr provides while adding your own custom development when needed.