{"id":17299294,"url":"https://github.com/pascallaliberte/built-with-roots","last_synced_at":"2025-04-14T12:24:49.571Z","repository":{"id":66916988,"uuid":"91624905","full_name":"pascallaliberte/built-with-roots","owner":"pascallaliberte","description":"Demo of a fan site of WordPress sites built with Roots, which is also built with Roots","archived":false,"fork":false,"pushed_at":"2017-07-27T11:59:18.000Z","size":2062,"stargazers_count":18,"open_issues_count":5,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T01:47:17.053Z","etag":null,"topics":["roots","sample-project","vuejs"],"latest_commit_sha":null,"homepage":"","language":"PLSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pascallaliberte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-17T22:19:10.000Z","updated_at":"2023-01-10T18:34:04.000Z","dependencies_parsed_at":"2023-05-13T23:45:28.422Z","dependency_job_id":null,"html_url":"https://github.com/pascallaliberte/built-with-roots","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/pascallaliberte%2Fbuilt-with-roots","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascallaliberte%2Fbuilt-with-roots/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascallaliberte%2Fbuilt-with-roots/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pascallaliberte%2Fbuilt-with-roots/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pascallaliberte","download_url":"https://codeload.github.com/pascallaliberte/built-with-roots/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248879300,"owners_count":21176475,"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":["roots","sample-project","vuejs"],"created_at":"2024-10-15T11:21:52.120Z","updated_at":"2025-04-14T12:24:49.536Z","avatar_url":"https://github.com/pascallaliberte.png","language":"PLSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Built with Roots - a fan site\n\n![Image of the site](site/web/app/themes/built-with-roots/resources/assets/images/preview.png)\n\nHelp build this fan site of sites built with [Roots][roots], the WordPress development kit of choice for making custom sites.\n\nIf you just want to learn Roots, this is a good starter project too. Take it apart!\n\nHere's the presentation that was given on May 17, 2017, demoing the project:\n\n[![Undo the Mess: Use Roots for WordPress Dev](https://img.youtube.com/vi/c25nvDkblSQ/0.jpg)](https://www.youtube.com/watch?v=c25nvDkblSQ)  \n[Undo the Mess: Use Roots for WordPress Dev - May 17, 2017](https://www.youtube.com/watch?v=c25nvDkblSQ)\n\n# Requirements\n\nThis is what you'll need to install to run the stack locally:\n\n## For Trellis\n\nTrellis (look in [`trellis/`](trellis/)) is a set of recipes for setting up your servers (using Ansible) and your local development environment (using Vagrant and Virtualbox). Your local dev URL will be [built-with-roots.dev][dev] when vagrant is running.\n\n* [Ansible](http://docs.ansible.com/ansible/intro_installation.html#latest-releases-via-pip) \u003e= 2.2\n* [Virtualbox](https://www.virtualbox.org/wiki/Downloads) \u003e= 4.3.10\n* [Vagrant](https://www.vagrantup.com/downloads.html) \u003e= 1.8.5\n* [vagrant-bindfs](https://github.com/gael-ian/vagrant-bindfs#installation) \u003e= 0.3.1 (Windows users may skip this)\n* [vagrant-hostmanager](https://github.com/smdahlen/vagrant-hostmanager#installation)\n\n## For Bedrock\n\nBedrock (see the [`site/`](site/) directory) organizes your WordPress install in an app-like folder structure with plugins and WordPress itself defined as dependencies.\n\n* [Composer]()\n\n## For the Sage-based theme\n\nThis site is built with Sage 9, a theme development kit that works with Sass, ES6-based Javascript using Webpack for builds, Blade templates, Bootstrap 4, and Browsersync. Very cool. Install node and yarn and you'll have what you need to get running. The theme is found in the [`site/web/app/themes/built-with-roots/`](site/web/app/themes/built-with-roots/) directory.\n\n* [Node.js](http://nodejs.org/) \u003e= 6.9.x\n* [Yarn](https://yarnpkg.com/en/docs/install)\n\n# Installation\n\nOnce all the requirements are installed, go through these steps to download Ansible's and the theme's dependencies. Then, start the local dev server.\n\n## 1. Install Ansible's dependencies\n\n```\n# in the trellis/ directory\n$ ansible-galaxy install -r requirements.yml\n```\n\n## 2. Install the theme's dependencies\n\n```\n# in the site/web/app/themes/built-with-roots/ directory\n$ composer install\n$ yarn install\n```\n\n## 3. Build the theme's assets\n\n```\n# in the site/web/app/themes/built-with-roots/ directory\n$ yarn run build\n```\n\n## 4. Start the local dev server\n\n```\n# in the trellis/ directory\n$ vagrant up\n```\n\nThe first time (or every time you run `vagrant reload --provision`), this will also install Composer's dependencies.\n\n## 5. Open the site in your browser\n\nOpen [built-with-roots.dev][dev]\n\n## 6. Add some content\n\n1. Create a Home Page with an intro\n2. Assign the Home Page to be the Front Page\n3. Activate the plugins\n4. Add new sites in the Sites admin menu with a URL, and a screenshot. You can find sites built with roots in the [Live Example topic of the Roots Discourse Forum][live-examples].\n\n# Theme development\n\nTo develop the theme with live-reloading in your browser:\n\n```\n# in the trellis/ directory\n$ yarn run start\n```\n\nThen visit the site in [localhost:3000](http://localhost:3000)\n\nAny changes you make will be injected into the page or will reload the page automatically.\n\n# This site uses Vue.js\n\nThe list of site is powered by some Vue.js components so we can get scroll-loading, and so we can get used to working with Webpack and the WP REST API.\n\n![Vue.js preview](site/web/app/themes/built-with-roots/resources/assets/images/preview-vue.png)\n\nLook in the theme's resources/assets/scripts/vue directory to see those components.\n\n# Contributing\n\nLook in the project's Issues for what's next and to pitch in.\n\n1. Fork this repo\n2. Commit changes to your copy of the repo\n3. Send a [pull request](https://help.github.com/articles/about-pull-requests/)\n\n# More information on Roots\n\nHead over to [roots.io][roots] or checkout the [forum][forum].\n\n[roots]: https://roots.io\n[forum]: https://discourse.roots.io/\n[dev]: http://built-with-roots.dev\n[live-examples]: https://discourse.roots.io/t/live-examples/77/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpascallaliberte%2Fbuilt-with-roots","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpascallaliberte%2Fbuilt-with-roots","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpascallaliberte%2Fbuilt-with-roots/lists"}