frojd / frojd-bedrock Goto Github PK
View Code? Open in Web Editor NEWA Docker based boilerplate for Wordpress/Bedrock
A Docker based boilerplate for Wordpress/Bedrock
Included with logo, main menu, service menu and mobile menu
User setting is not working under Linux.
Change:
db:
image: mysql:5
ports:
- "{{cookiecutter.docker_db_port}}:3306"
volumes:
- "./docker/files/db-dumps/:/docker-entrypoint-initdb.d/"
- "./db/:/var/lib/mysql"
env_file: "./docker/config/db.env"
user: "1000:50"
To:
db:
image: mysql:5
ports:
- "{{cookiecutter.docker_db_port}}:3306"
volumes:
- "./docker/files/db-dumps/:/docker-entrypoint-initdb.d/"
- "./db/:/var/lib/mysql"
env_file: "./docker/config/db.env"
Add a 404 page with a title and description collected from the admin theme settings
Collect information from theme settings page:
Collect from theme settings
These tools should be included in WYSIWYG:
Also add styling of the above and for inserting embedded code
Axe DevTools flagged that "Document does not have a main landmark" when i was testing a site based on Frojd-Bedrock.
I think the solution would be to replace <div role="document">
with <main>
or <div role="main">
but maybe this should be done together with a bigger accessibility review on the whole project?
Add a theme settings page in admin with basic fields:
These commands fails with YIKES! It looks like you're running this as root.
- name: Flush permalinks
shell: chdir="{{ ansistrano_release_path.stdout }}"
wp rewrite flush
- name: Flush cache
shell: chdir="{{ ansistrano_release_path.stdout }}"
wp cache flush
in after-symlink.yml.
I suggest either to add --allow-root
or the soulution below.
- name: Flush permalinks
shell: chdir="{{ ansistrano_release_path.stdout }}"
runuser -u www-data -- wp rewrite flush
- name: Flush cache
shell: chdir="{{ ansistrano_release_path.stdout }}"
runuser -u www-data -- wp cache flush
Add default .po and .mo-files for translation
Some problems occur when using the provision and then on deploy:
Change so provision is done with root and then any changes to ownership can be added afterwards. Also make sure the user set to the uploads directory can write to directory from WP
In docker-compose.yml elasticsearch:2.4 is specified, but Elasticpress recomends 5.0+. Would it be ok to update to 5.6.10?
Had an issue where I could not see my changes after deploy. Resolved it by flushing nginx cache in wp admin. But i think it should be a part of the release flow.
Added this to after-symlink.yml
in my project. Maybe it should go into the boilerplate?
- name: Purge Nginx Cache
shell: /bin/rm -rf /var/lib/nginx/fastcgi_cache/*
The authors dropdown in page editing won't be visible since the endpoint for users is removed in security file in theme.
Fix this by adding early return in 'rest_endpoints'-filter for logged in users
Add a walker for wp_page_menu and wp_nav_menu with classes in bem-structure
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.