In the spirit of open source, and in the interest of providing a guiding light for developers who are as excited about the new Gutenberg editor for WordPress as we are, we've open sourced our website!
We decided to open source for a few reasons:
- There's nothing about our site that necessitates keeping our code private. As big open source believers already, it felt like there was no reason not to open source the site.
- It offers a good demonstration of how we structure our projects, and a practical working example of our Kaiso framework.
- It also offers the same demonstrative power of a relatively complex Gutenberg website. We believe more examples of Gutenberg in practice are valuable as they help inspire developers to take on their own Gutenberg projects.
Vagrant setup:
git clone [repo]
cp -r app/secrets-example app/secrets
- Fill out files in
app/secrets/
vagrant up
Building the project:
composer install
nvm install && nvm use
npm install
npm run dev
ornpm run build
Linting:
npm run lint-php
for bothphpcs
andpsalm
npm run phpcs
or./vendor/composer/bin/phpcs
npm run psalm
or./vendor/composer/bin/psalm
Building plugin dependencies (e.g. for Gutenberg blocks):
npm run lerna-install
npm run lerna-dev
ornpm run lerna-build
Tomodomo is a creative agency for magazine publishers. We use custom design and technology to speed up your editorial workflow, engage your readers, and build sustainable subscription revenue for your business.
Learn more at tomodomo.co or email us: hello@tomodomo.co
Excluding the exceptions listed below, this project is licensed under the terms of the MIT License, included in LICENSE.md
.
- All images in
app/images/
are © 2018 Tomodomo or their respective owners - All files in
app/views/partials/svgs/
are © 2018 Tomodomo or their respective owners - Font files in
app/assets/fonts/lekton-tomodomo/
are licensed under the terms of the SIL Open Font License, available atapp/assets/fonts/lekton-tomodomo/LICENSE.md
All open source Tomodomo projects follow a strict code of conduct, included in CODEOFCONDUCT.md
. We ask that all contributors adhere to the standards and guidelines in that document.
Thank you!