Giter Site home page Giter Site logo

bernardhanna / rollingdonuts Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 845.44 MB

Theme built with Sage 10

License: MIT License

PHP 40.80% TypeScript 2.02% JavaScript 0.64% CSS 4.57% Blade 18.04% HTML 29.89% Ruby 0.41% Python 0.79% Jinja 2.46% Shell 0.39%

rollingdonuts's Introduction

rollingdonuts

rollingdonuts is Built on Radicles

Website    Documentation    Releases    Community

Server requirements

  • Your document root must be configurable (most local development tools and webhosts should support this)
  • PHP >= 8.0 with the following extensions: BCMath, Ctype, Fileinfo, JSON, Mbstring, Tokenizer, XML
  • Composer
  • WP-CLI

If you are using a managed WordPress host, make sure that they meet these requirements if you're wanting to deploy your rollingdonuts projects to them.

Getting started

📝 View the documentation

💄 Visit the /welcome/ route for component demos

Local development

📦 Trellis

Run yarn && yarn build

Run php .rollingdonuts-setup/trellis.php to grab the latest version of Trellis and apply the necessary modifications for rollingdonuts. After you've ran this script, navigate to the Trellis directory to init and start your project:

$ php .rollingdonuts-setup/trellis.php
$ cd trellis/
$ trellis init
$ trellis up

You can remove the .rollingdonuts-setup/ directory after you've ran the Trellis script, or if you aren't planning to use Trellis.

🐳 Lando
  1. In bud.config.js: Replace http://rollingdonuts.test with https://rollingdonuts.lndo.site
  2. Run yarn && yarn build
  3. Run lando start
  4. Visit https://rollingdonuts.lndo.site/

You can run lando login to generate a passwordless wp-admin login URL (WordPress must first be installed)

⚙️ Other
  1. In bud.config.js: Replace http://rollingdonuts.test with your local dev server URL
  2. Run yarn && yarn build
  3. Run composer install
  4. Configure your local development setup to set the public/ directory as the webroot.
  5. Copy .env.example to .env and update the environment variables

Deploying rollingdonuts

📦 Trellis

Want to deploy with GitHub Actions? Uncomment the deploy job from .github/workflows/deploy.yml.

Otherwise, run trellis deploy <environment>.

⚙️ Other

You will need to make sure that your deployment process handles the following:

  1. Run yarn && yarn build from the project root
  2. Copy contents of public/dist/ folder to server (produced from yarn build)
  3. Run wp acorn optimize
  4. Run wp acorn icons:cache (if using Blade Icons)
  5. Run wp login install --activate (if wanting to use the WP-CLI login command)

Places to be

Path Description
config/post-types.php Post types configuration
config/theme.php Theme setup configuration
public/content/ wp-content directory
storage/logs/application.log App log
resources/scripts/editor/ Block editor related scripts
resources/views/ Theme templates

Support

While we strive to help our customers in any way we can, a rollingdonuts license doesn't cover the Roots team troubleshooting any application code issues that aren't directly related to rollingdonuts itself.

If you discover a bug in rollingdonuts, please make a topic on Roots Discourse with minimal reproduction instructions.

If you have feature requests, questions, or feedback, please make a topic on Roots Discourse or use the #rollingdonuts channel on our Discord server.

rollingdonuts's People

Contributors

bernardhanna avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

kilbourne

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.