-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT] Gitpod Script #203
[FEAT] Gitpod Script #203
Conversation
@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 😄 |
61e2d23
to
e277b83
Compare
I am on it. I just noticed a bug in that the Update:
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 |
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!
rc4comm.gitpod.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😄