Hydrogen and AirCode are highly compatible, making it easy to run the AirCode project locally using Hydrogen, and vice versa.
- Login to AirCode dashboard. Select your project or create a new one.
- Deploy your project.
- Click
Publish to GitHub
-
Clone the GitHub repository code to your local machine.
-
Navigate to the local project directory.
cd my-repo-dir/examples/test-project- Run
npx create-aircode-app
npx create-aircode-app@latestUpdated aircode app in current directory.
To get started, run the following commands:
npm install
npm start- Install dependencies
npm install- Start the Hydrogen Server
npm startIf your project is created by npx create-aircode-app@latest, you can easily deploy your project to AirCode by the following steps:
- Create a github repo, and set it into your
package.jsonfile, for example:
"repository": {
"type": "git",
"url": "git+https://github.com/akira-cn/aircode-app-example.git"
},-
Run
npm run deployto prepare the deploy info for AirCode. -
Push your code to Github.
-
Visit your
functions/README.md, Click theDeploybutton to deploy your project to AirCode.




