Open Palanikannan1437 opened 1 year ago
Hey @Palanikannan1437
Thanks for the PR. All things work perfectly. Just one error when the request to fauna Superprofile is made:
An error occurred while getting user details on Superprofile ApolloError: Must provide schema definition with query type or a type named Query.
Please have a look into this. Thank you!
Some additional details to debug:
The error is caused due to no data & schema being initialized in Fauna, and this is done in superprofile/log/initialize.sh
the command which does this starts from this line
fauna upload-graphql-schema /var/log/faunadb/schema.gql --domain="$1" --port="8443" --scheme="http" --secret=`cat dbkey` --graphqlHost=$1 --graphqlPort=8084 --mode=replace
@Palanikannan1437, any updates on this PR?
Thanks!
Issue in brief
Create an optimised Gitpod script for the project so that contributors can enjoy super fast speeds to setup and work on developing and contributing to 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
rc4community
torc4conferences
wherever neededgitpod-scripts
Readme
for instructions on how to use pre-builds in Gitpod for their forked version! (WIP)Demo
The magical dev-workflow with pre-builds on Gitpod enabled from a new contributor perspective (WIP)