diff --git a/pkg/setup/setup_source.go b/pkg/setup/setup_source.go index ecc750e..dff0ffe 100644 --- a/pkg/setup/setup_source.go +++ b/pkg/setup/setup_source.go @@ -13,10 +13,10 @@ func PrintSetup(appId string) { fmt.Println("🚀 Your new app has been created.") fmt.Println("") fmt.Println("React/Javascript: To create a brand new project in the current dir:") - ccmd.Printf("$ npx create-react-app --template @usecloudstate/usecloudstate-js . && sed -i 's/USECLOUDSTATE_APP_ID/%s/' src/utils/cloudstate.js\n", appId) + ccmd.Printf("$ npx create-react-app --template @usecloudstate/usecloudstate-js . && echo \"REACT_APP_CLOUD_STATE_APP_ID=%s\" >> .env\n", appId) fmt.Println("") fmt.Println("React/Typescript: To create a brand new project in the current dir:") - ccmd.Printf("$ npx create-react-app --template @usecloudstate/usecloudstate-ts . && sed -i 's/USECLOUDSTATE_APP_ID/%s/' src/utils/cloudstate.ts\n", appId) + ccmd.Printf("$ npx create-react-app --template @usecloudstate/usecloudstate-ts . && echo \"REACT_APP_CLOUD_STATE_APP_ID=%s\" >> .env\n", appId) fmt.Println("") fmt.Printf("More docs and admin console is available at: https://usecloudstate.io/admin/apps/%s/settings\n", appId) fmt.Println("Happy coding! 👋")