- Create a directory for your project and change your working directory into that directory.
- Run 'eb init' to log in and select the application you created through the quick launch link.
- Run 'eb labs download'. This will download the code that is running on the AWS Elastic Beanstalk environment to your local folder.
- Make necessary changes to the code.
這裡要設eb 環境 ,找一下aws console 產生出來的環境名稱
eb use XXX-env
git add *
git commit -m""
eb deploy
這個方法在 AWS一下有時候成功,有時候失敗
結果還是先在本機端生一個 express 然後加 parse-server 在 eb deploy 在ec2上安裝 mongo 重開後 就沒可以了
這個方法在 AWS一下有時候成功,有時候失敗
結果還是先在本機端生一個 express 然後加 parse-server 在 eb deploy 在ec2上安裝 mongo 重開後 就沒可以了
沒有留言:
張貼留言