Building

Sync your project with GitHub

Connect a repository to keep your code in GitHub and a full copy of the source in your own repository.

Why connect GitHub

Connecting a GitHub repository gives you a full copy of your application's source and a normal developer workflow around it. It is also the way to export your whole project, since there is no download-as-archive button.

How the two-way sync works

  • After every prompt, OXDAR commits and pushes the changes to a develop branch.
  • Before each prompt, OXDAR pulls the latest changes, so edits you made in GitHub are included.
  • When you publish, OXDAR opens a pull request and merges it into the main branch.

Connect a repository

  1. Open the project's settings or GitHub option in the workspace.
  2. Authorize access to your GitHub account when asked.
  3. Choose the repository to use.
  4. Run a prompt and check that a develop branch receives the commit.

You can also start from an existing repository by using the GitHub import option on the dashboard.

Good habits

  • Make your own changes on a separate branch and merge them into develop before running the next prompt.
  • Avoid editing the same file in GitHub and in the OXDAR code editor at the same time.
  • Never commit secrets. Use More → Secrets for API keys.

If the sync reports a problem, the troubleshooting article lists common checks.

Related

Ready to build it?

Describe your idea and let Oxdar build the first version. 25 free credits to start, no card required.