Hi team,
This week, I ran the latest version of your development workflow with last version of forest-cli
(forest-cli/3.0.1 win32-x64 node-v14.20.0).
I have had some problems, so I would like to share my experience return, and ask some advices on the right way to follow the development workflow up to the deployment in production.
I have three different environments:
- Development
- Staging
- Production
The way we make the layout changes si standard:
With the old release, I used to :
- create my branch in my Development environment =>
forest branch <my_branch>
- push my changes on the Staging environment =>
forest push
- deploy my new layout in Production =>
forest deploy
Now, with the last release, I had some problems:
Reference document: Deploying your changes - Developer guide
-
I was able to create my branch in the same way, no issue.
-
I had an issue to push my changes on the Staging environment.
When runningforest push
, it did not work.
=> it complained stating that my Staging environment was not myOrigin
So I had to run
forest set-origin Staging
first,
and then theforest push
statement ran successfully.=> is it the right way to do it?
-
For the deployment, from my Development environment,
I was unable to runforest deploy
=> it complained stating that there were no active branch.I had to click on the Deploy link in the Forest layout interface.
Why couldn’t I deploy from the command line?
is there another way to do it from the command line?
or did I miss something?
My current setup:
"meta": {
"liana": "forest-express-sequelize",
"liana_version": "8.5.12",
"stack": {
"database_type": "multiple",
"engine": "nodejs",
"engine_version": "14.20.0",
"orm_version": "5.22.3"
}
}
Thanks in advance for your help
Best regards
Louis-marie