{"id":20614067,"url":"https://github.com/dgraph-io/tutorial","last_synced_at":"2025-03-06T18:43:04.618Z","repository":{"id":20321679,"uuid":"89449750","full_name":"dgraph-io/tutorial","owner":"dgraph-io","description":"A Tour of Dgraph","archived":false,"fork":false,"pushed_at":"2023-10-06T10:30:50.000Z","size":79533,"stargazers_count":38,"open_issues_count":46,"forks_count":39,"subscribers_count":35,"default_branch":"master","last_synced_at":"2024-04-13T23:51:12.641Z","etag":null,"topics":["dgraph","tutorial"],"latest_commit_sha":null,"homepage":"https://tour.dgraph.io","language":"HTML","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dgraph-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-26T07:10:47.000Z","updated_at":"2024-05-03T18:45:48.314Z","dependencies_parsed_at":"2024-05-03T18:56:01.183Z","dependency_job_id":null,"html_url":"https://github.com/dgraph-io/tutorial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgraph-io%2Ftutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgraph-io%2Ftutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgraph-io%2Ftutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgraph-io%2Ftutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dgraph-io","download_url":"https://codeload.github.com/dgraph-io/tutorial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242268705,"owners_count":20100067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dgraph","tutorial"],"created_at":"2024-11-16T11:11:52.442Z","updated_at":"2025-03-06T18:43:04.596Z","avatar_url":"https://github.com/dgraph-io.png","language":"HTML","readme":"# A Tour of Dgraph\n\nA step by step introductory tutorial of Dgraph. Built with [Hugo](https://gohugo.io/).\n\nVisit https://dgraph.io/tour for the running instance.\n\n**Use [Discuss Issues](https://discuss.dgraph.io/tags/c/issues/35/tutorial) for reporting issues about this repository.**\n\n## Developing\n\nThe tutorial can be run locally by cloning this repo and running `scripts/local.sh`.\nThe tour has been tested with hugo `v0.37`.\n\nTo develop and test version redirects locally run the build script:\n`TOUR_BASE_URL=http://localhost:8000 python3 scripts/build.py`\n\nThis will recompile `master` and all `dgraph-\u003cversion\u003e` branches and store the static site content in the `published/` folder\n\n## Dgraph Release Process\n\nStructure of the tour releases/version switcher must mirror the structure of the Dgraph Docs releases/versions. (Starting from Dgraph 1.0.16 onwards).\n\n### Where to make changes\n\n- All changes/updates reflecting the changes in Dgraph master should be committed into the `master` branch of this repository (`dgraph-io/tutorial`).\n- Fixes and changes for older versions of the tour should be committed into relevant `dgraph-$version` branch.\n- As part of the release process for Dgraph a new branch `dgraph-$version` must be cut here (`git checkout master; git checkout -b dgraph-\u003cNEW_SEMVER\u003e`).\n\n## Deploying to Live Site\n\nRun the build script:\n`python3 scripts/build.py`\n\nOnce it finishes without errors it will commit all static content\ninto the `published/` folder.\n\nAfter that you can `git push` and the server will pick up the changes.\n\n## Server config\n\nFile `nginx/tour.conf` is symlinked to Nginx's `sites-available`\nwhen you edit it you must ssh and run `nginx -s reload`.\n\nCron task\n\n```sh\n*/2 *    *   *   *   cd /home/ubuntu/dgraph-tour \u0026\u0026 git pull\n```\n\nPulls new commits from git.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgraph-io%2Ftutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgraph-io%2Ftutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgraph-io%2Ftutorial/lists"}