Closed Palanikannan1437 closed 1 year ago
Looking good @Palanikannan1437 - can't wait to try this!
Looking good @Palanikannan1437 - can't wait to try this!
@Sing-Li and @Dnouv it'd be awesome if you could review this and see it in action ⚡️
Please let me know incase there are some changes to be made, thank you 😄
I am on it. I just noticed a bug in that the RC4Community
database is not getting initialized. Maybe we can fix it by tweaking the startup shell script; I will take a look at the script.
Update: The following is the error for every new workspace @Palanikannan1437
Waiting 30 seconds for container to get shipped...
Docker container needs extra startup time, please increase the $waittlist value in initFaunaOnce.sh
Process ended with health status of Container: starting
While building on Gitpod; it takes an unusually long time for the Fauna container to start. This results in an empty database, thus skipping the data initialization.
Thank you!
I am on it. I just noticed a bug in that the
RC4Community
database is not getting initialized. Maybe we can fix it by tweaking the startup shell script; I will take a look at the script.Update: The following is the error for every new workspace @Palanikannan1437
Waiting 30 seconds for container to get shipped... Docker container needs extra startup time, please increase the $waittlist value in initFaunaOnce.sh Process ended with health status of Container: starting
While building on Gitpod; it takes an unusually long time for the Fauna container to start. This results in an empty database, thus skipping the data initialization.
Thank you!
@Dnouv I've now fixed the script to dynamically increase the waittime by 5s until the container starts...with an upper limit of 60s, would be awesome if you could test it out now, thank you so much for the guidance! 😄
LGTM! Thanks for the hard work @Palanikannan1437
cc: @Sing-Li
LGTM! Thanks for the hard work @Palanikannan1437
cc: @Sing-Li
Thanks @Dnouv!
Issue in brief
Create an optimised Gitpod script for the project so that contributors and community builders can enjoy bam boom boom kapow 🤯!! speeds to setup and work on the codebase⚡️!
Suggested Fixes/Changes
.gitpod.yml
and separated tasks so that pre-builds can be run efficientlyinit
) for caching via pre-buildsapp
directorycms
directory and build for productioncommand
)init
tasks are performed asynchronously for max optimization and then thecommand
tasks are awaited based on theinit tasks
strapi.sh
only for the gitpod-scripts for faster async loading!gitpod-scripts
Readme
for instructions on how to use pre-builds in Gitpod for their forked version!package-lock.json
for keeping this package-lock.json as a baseline for further development to avoid conflicts while initialising gitpod workspaceDemo
The magical dev-workflow with pre-builds on Gitpod enabled from a new contributor/community builder's perspective!
https://user-images.githubusercontent.com/73993394/203915578-cb30ec31-738f-4767-a858-dfb17c8dda33.mov
PS: These number of commits were made just in-order to test the immediate changes I make on Gitpod, I'll consider squashing them if needed, thank you😄