-
Notifications
You must be signed in to change notification settings - Fork 3
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
reallycoolobjects.com #55
Comments
Hi @flexseth, not sure I follow 😅 Can you elaborate on the why? |
Also, spoofing the hosts file from Playground isn't technically possible. |
I tried getting this to work based on the instructions available in the Hosts file## Playground ##
http://127.0.0.1:8881 http://myurl.wpnow:8881 blueprint{
"steps": [
{
"step": "defineWpConfigConsts",
"consts": {
"WP_HOME": "http://myurl.wpnow:8881",
"WP_SITEURL": "http://myurl.wpnow:8881"
},
"method": "define-before-run"
}
]
}
|
Hey @flexseth, the hosts file should look like this (without the protocol and port number):
Can you see if it works? |
This works, but throws the error
Feel like this has been addressed somewhere. I'll mark this as closed, there will probably be a good solution for handling URLs at some point. |
@flexseth, you can try resetting the project (see Probably better to open a separate issue in the playground-tools repo, though. |
Blueprint idea: make a website that spoofs the URL bar
User goes to
reallycoolobjects.com
and it looks like their websiteTheir hosts file is tricked, but it makes demonstration so much better.
The challenge
Here's a bad idea....
@ironnysh - you're good with
wp-now
;)I've got a scenario for you:
theme1
foldertheme2
folderhosts
via a blueprintThe steps should include how to set up VS Code for the instance.
And yes, the user will have to edit their
hosts
file.End result
hosts
fileie: user's website is called
Really Cool Objects
the URL bar could show
reallycoolobjects.com
Why?
Being able to customize the perceived URL is a huge benefit in many ways.
Extra Credit
Show how to save developer workspaces in VS Code
Make
theme1
go todev.reallycoolobjects.com
The text was updated successfully, but these errors were encountered: