Skip to content

Commit

Permalink
Merge pull request #13937 from aws-amplify/migrations-readme-fl
Browse files Browse the repository at this point in the history
Gen2 Migration readme file
  • Loading branch information
abhi7cr authored Sep 23, 2024
2 parents 5890b22 + 51b0d66 commit 78e3c50
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/amplify-migration/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Usage

### Gen2 Codegen

In Gen1 root directory run the following to generate Gen2 code based on Gen1 configuration:

`npx @aws-amplify/migrate to-gen-2 generate-code`

Once this command runs successfully, the Gen1 project is converted to Gen2 with `amplify` directory containing Gen2 code and `.amplify/migration/amplify` containing Gen1 configuration as a backup.

0 comments on commit 78e3c50

Please sign in to comment.