-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Attempt to create a Headless WordPress installation using Local and Atlas #82
Comments
|
I gave up trying to understand the second paragraph in the first clause. 1. Agreement a. That agreement between us is comprised of these Terms of Service, the Order to which they are attached or by which they are referenced, the SLA, AUP, DPA, and Privacy Policy which are referenced herein, and any other terms, exhibits, schedules, or addenda which are referenced by any of the preceding (collectively the “Agreement”). I know what an SLA is but not AUP or DPA. ... seems I need to read 13. Definitions 1 b. is just as bad as 1 a. |
When time comes to cancel I'll have to visit https://my.wpengine.com/my_account/cancel |
But I did manage to create one called atlas-blueprint-blog |
The github repo I've set up is https://github.com/bobbingwide/atlas-blueprint-blog I now have access to Atlas and have created a blueprint site. See above. I've received instructions from wpengine with a list of tutorials for Local/Atlas, Faust and WPGraphQL WP Engine Logo Image Hi Herb, Now that you have access to Atlas, and have spun up an Atlas Blueprint, we would like to guide you on how you can customize and extend your project. Below you will find a list of tutorials for the most popular tools in the Atlas ecosystem! Local – local development platform for WordPress Site:
Local/Atlas Tutorial:
Faust.js – front-end framework for headless WordPress Site:
Tutorial:
WPGraphQL – GraphQL API for WordPress Site:
Tutorial:
Atlas Content Modeler – Custom post types and fields for headless WordPress Site:
Tutorial:
If you have a question, get stuck, or want to share what you've built, join us in the Headless WordPress Discord server. |
But I failed to select the Custom installation - which is needed to select the Atlas checkbox.
Third attempt, after removing Imagick from my php.ini and rebooting,
Starting the shell the Imagick related messages are now different
I changed package.json to set the port number explicitely.
I was then able to visit http://localhost:10011 but not wp-admin I realised I'd set the port number to the value on the first install.
|
Having got the front end to connect to the atlas local backend I then attempted to change it to connect to I changed
But this produced
I found this issue. nodejs/node#33705 The next problem was the fact that no blog posts were listed. |
Now I want to create my own front end for
npm run dev
See https://github.com/wpengine/faustjs/tree/canary/examples/next/getting-started ? |
In oik-bwtrace, when we want to see the REST request we an access global
How does GraphQL obtain the data? When viewing the "clone-me" post the request's data was rawBody
which becomes the JSON array
Not particularly easy to understand on first viewing. |
Having got the local installation in I encountered a number of problems getting the system to build and connect successfully.
which I resolved by adding this line in faust.config.js
but this causes this message in the log
|
But I'm generally confused about the URLs and how the JS code constructs them.
But at least something is working and, amazingly, when I stopped the build for atlas-blueprint-blog and replaced it with the build for faust
so it looked like the first screen capture #82 (comment) |
Presentation and recording of Zoom meeting now published. See https://www.wp-pompey.org.uk/meetup/wordpress-portsmouth-online-meetup-16th-november-2022-headless-wordpress-101/ |
For the November Online WordPress Portsmouth Meetup I want someone to be able to talk fairly knowledgeably about Headless WordPress and to be able to demonstrate one or more actual installations.
There are multiple commercial solutions available for WordPress. One of those is Atlas by WPEngine. You can sign up to use Altas for free for 4 months. I believe you're expected to be able to use local to install a headless WordPress solution.
I've created this issue to record my progress.
It didn't start well.
For each of the above I had no idea why I was doing what I was being asked to do.
So I was just hitting buttons in the vain hope that I might eventually understand something.
The previous section was written a couple of weeks ago. I've made a reasonable amount of progress.
I now have several installations in my local development environment(s) and one on my Atlas Sandbox.
The text was updated successfully, but these errors were encountered: