0:01
sorry for the delay everybody uh or uh I uh man
0:08
so you know I go like 10 or like 15 minutes ago now and oh let me go set up some
0:14
stuff for the live stream and um realize that I'm on my Mac Studio
0:19
I've never actually done a live stream using my traditional live stream
0:25
software on my Mac Studio didn't even have it installed
0:30
and uh wow that was quite the oversight um so I was quickly floundering to get
0:36
everything installed and hoping that uh everything's working let me know please
0:42
let me know if everything's a-okay oh yeah you guys are laughing so
0:47
um yeah that was a Joe move yeah totally dude normally like because I had this
0:53
like dialed in my setup was dialed in so it was like two minutes before the live stream normally I just I launched an automated action that just launches
1:00
everything that I need boom I'm ready to go but um yeah none of that was set up on
1:07
this Mac so I've been floundering to get everything installed and configured here's a couple minor things that I
1:13
actually couldn't I don't remember how I set up on my other Mac so like I was actually planning on sharing my phone
1:19
today but for some reason it's not working so you're you're going to get a little bit of look at this
1:25
today okay so um yeah I will uh sorry about that
1:32
rookie rookie move right there okay uh but everyone's in the chat looks like
1:37
everyone can hear me and see me um let's make sure that you can guys can let's see that you should now see my
1:44
desktop just make sure that uh you guys can see my desktop um as well cool thanks Tony
1:51
okay um fun times
1:57
and I was hoping to get like a little snack before this live stream too like go get a little snack or you know refill
2:03
my drink or something man then I was all like chaos
2:09
okay yep it's not a live stream without
2:15
something going wrong that's right cool okay um today we're gonna be going over
2:21
something that we I think it was three weeks ago on the Hangouts
2:27
I uh I showed off some stuff a couple different pieces of software we played around with some more ideas and came up
2:35
with a really cool workflow for testing your websites locally
2:41
now I know that yes we have preview in Rapid Weaver and stacks and and uh you
2:48
know we can preview in the browser preview in multiple browsers um
2:54
I I use oh I'll just say right now I don't use rap Weaver's preview all that much
2:59
um I almost always just command P into my default browser um it's just what I like to use okay
3:06
um I have found though that rap beavers previews caching I don't know what it is
3:13
okay uh because I still use reprovert 893 so obviously they haven't shipped
3:19
any updates to that right so it's something maybe in the OS or in webkit
3:24
um that is changed it is gotten preview caching like a pretty aggressive like
3:31
I'll make some changes and preview I don't see my pre I don't see my changes in preview so um yeah
3:39
something's changed a little Annoying not gonna go down that rabbit hole but it's something that popped into my brain
3:45
as I was talking to you guys so um you know if you preview in a browser
3:51
it's easy to empty the cache option command e know that shortcut okay option
3:58
command e use your thumb to push option and command and your index finger to hit e is just like boof empty cache
4:05
um I do that all the time so um there we go okay
4:11
um the dev inspector is a lot easier to use inside a browser too okay um right but I went down a rabbit hole
4:18
let's get back to business here testing so we have preview but as you know some
4:25
things don't work in preview right um you know a lot of your traditional Stacks do but there are some things that
4:31
just straight up don't work in preview um there are some things with total CMS
4:36
that you know you kind of need to publish um and so yeah we're gonna go over a
4:43
workflow today using an app called mamp now
4:49
I used Vamp years ago and I stopped using it um and recently I I think the last
4:57
version I paid for was version three so way back in the day they're currently a version six
5:03
and um they added some nice features that I think are are viable now it actually
5:10
makes total CMS pretty usable in manp um and over the years I've gotten a lot of questions from people asking how can we
5:16
use total CMS locally inside map and um traditionally total CMS hasn't worked
5:21
but um I'm not sure what version they added some of these features um but it does now in version six so uh
5:28
we are going to be uh looking at version six today there is a free and a pro version we're
5:34
gonna be looking at both okay um and I did email them
5:40
asking for like a discount if I did a live stream and it's been almost two
5:46
weeks and they haven't got back to me yet I even sent up some follow-up emails so
5:52
unfortunately if they ever do get back to me I'll make sure I post some details um you know to you guys
5:59
um with that with that information but as of right now uh there is no upgrade uh or discount
6:05
options that I have sorry I I wanted to do this live stream last week but I was like let's give them
6:11
one more week to reply I haven't replied yet so um I wanted to get this knowledge into
6:17
your hands though um and you can see how cool it is if you want to you can use the free trial for
6:22
like 14 days that gives us an extra two weeks for them to uh reply to me um but there we go okay
6:31
um by the way thanks for everyone joining Roy haven't seen you in a while hope you're doing well Martin thanks for
6:36
coming on Robert Johnson from the UK sweet oh we got Ryan the oil field guy
6:42
oilfield oil gas man oil field oil and gas gifts man try to say that 10 times
6:50
fast Ryan man okay um Dr Bob's here Martin Roy Tony thanks
6:57
for coming on Willie how's it going in uh South Africa there sweet
7:02
okay I hope that new generator you got some like big old Generator hope that's working out for you too okay anyway
7:07
let's dive in let's go ahead and Let's uh let's start working okay
7:16
um I'm going to launch manp as you see I do have Vamp and map Pro um installed we're gonna we're gonna be
7:22
playing with mamp first all right launched on my desktop okay
7:28
so what I'm going to do here is I am just going to let's open up we don't really need a rap Weaver project open
7:34
but this this the website we're going to be looking at okay this is foundationstacks.com
7:39
okay um let's just minimize that really quick okay so
7:44
with mamp it is a Apache web server okay
7:51
the free version super simple to use um basically inside the preferences you
7:58
can go ahead and in where is it here in the server tab you can go ahead and pick a folder okay and this folder let's open
8:06
it in binder okay this folder here is the export or the publish of my react
8:14
remover project okay so um let's go ahead and inside the project file let's just go to my publishing
8:21
settings and what I've done here
8:26
um now normally I for this particular project I actually don't publish it directly with my server I always publish
8:31
to a local folder okay um but what's kind of cool is you can set up local publishing
8:38
and uh so for example here let's let's set up something something I think a lot of people don't know okay oh
8:47
let's back up uh I I don't want to get too far down that rabbit hole really quick just wanted to let you know that uh I am publishing to this local folder
8:55
okay for now all right so that folder contains this
9:01
website and uh basically that's all you have to do here and uh let's see you can change the
9:08
ports if you want to but you're probably fine I think really for the free version just go ahead and change your folder click OK and click the start button all
9:17
right whoops well I stopped just stopped it click start button okay
9:22
and what that's doing is that's going to start a web server on your Mac okay uh now for some reason it does open
9:30
up on this welcome screen um essentially um what it does is it will if you look
9:35
at this it goes localhost localhost colon 888 just remove this slash mamp
9:41
jazz okay and there you go you have a fully functional website on your local Mac
9:49
um and it should behave exactly as if you were on your actual website okay so
9:56
you can go ahead and click on demo and docs and it'll link over to demo and docs right let's go a little bit wider
10:03
so we can see this right and so we can click through and all of this is on it's all local right so I can
10:11
go ahead and preview all of this now what's really cool about uh about
10:16
this is a we can also choose the PHP version
10:22
um so if I wanted to change this to PHP 8.2 which I probably recommend you do um you know that's kind of nice
10:29
use uh what was that error you selected a PHP H where it cuts off old pigtails
10:34
don't show again okay thanks um
10:40
okay so here it opens up the map sales page I think that's only does this for
10:46
the free version okay um now one thing the free version um does of amp
10:52
um you'll notice that it actually you have to use localhost and you can change
10:57
the port so by default it's 888 if you if you want to change that you can change that port number it's in the
11:03
preferences but it doesn't really matter okay um if you don't want to have any ports
11:08
at all okay so if you just want to go like to localhost okay I'll show you how to do that
11:14
um we can go to Ports and you just click this uh default 80 and 3306 so if you
11:23
click that you go okay
11:28
and it's going to restart and now localhost will uh it'll work without
11:36
here we go it'll work without so it's just localhost that's it okay now
11:42
something to note that this doesn't use SSL it's it doesn't have an https right
11:49
but we're on localhost so um you know for a majority of purposes I
11:54
think this is great okay another thing that's really really nice is because this is Apache
12:00
um I don't know if I have a do I have I'm gonna close that finder
12:05
window if we go to that folder again
12:14
where's Foundation sex there we go if you notice here I have a directory for every single website right so um
12:22
I've publish all my websites local okay um I'm gonna go ahead and Chuck this into code editor really quick
12:28
realized I didn't quit any of my apps whatever um
12:35
all right and I was wondering if I I don't have an htaccess file here
12:41
rats okay what I wanted to show you is um because the vamp uses Apache it's the
12:48
same web server that's most likely running on your actual web server on your hosting company it will support your htaccess rules okay
12:56
which is pretty pretty cool so if you want to test redirects or if you want to make changes to your htaccess file and
13:03
then um verify it's not going to break your your entire website because if you have
13:08
issues in your htx's file it could completely trash your entire website right so if you want to be really
13:14
cautious about that you can actually test all that here inside of
13:19
okay which is which is a nice a really nice thing to have
13:25
okay um and we'll get into that with Vamp Pro actually we will test that okay I just
13:32
wanted to I wanted to show you guys the free version basically um
13:39
let's see if there's any questions here all right no questions yet super simple
13:45
okay now let's talk about a workflow now Okay so
13:53
how am I going what's a a faster workflow for for this
13:59
so let's go into rapid Weaver all right let me go ahead and close some
14:05
of these windows I keep confusing I will leave that one open all right
14:12
let's go into rapidver so what I think a good workflow is
14:21
actually before I do that what are some benefits to doing this I mean you're like Joe I I can preview my site
14:29
um it's just fine okay I and I published my server
14:35
and it just works but how long does it take to publish to your
14:41
server I know that we've all used Rapid River and we change we make one little
14:46
change and we could publish in like 2 000 files start getting published and I
14:53
don't know some of you even live on the wild side and you don't even preview you just publish to your server right
15:00
um so imagine getting all that time back because sometimes publishing depending on our hosting company can take a while
15:06
right oh here's a little tidbit also in the free version it opens up this little bad
15:13
boy here I just want to show you you could just uncheck that so it never shows you again and you can close it all
15:18
right um hold on let me let's get in let's get
15:24
into business let's talk about business here so okay so a lot of times you click that publish
15:29
button and it can take minutes right so a lot of times you're like okay well I'm gonna go get a cup of coffee and then
15:36
you realize you make a mistake and you gotta shoot and he's got to republish again so then you republish again and so
15:42
that could take up a decent amount of time of our days right just waiting for
15:48
publishing to happen and some of us have really bad internet connections have slow hosting companies
15:54
right there there's a lot of things that could really delay and make that publishing process take a long time
16:02
other things are there are some hosting companies um you know I love one called dreamhost uh it's kind of my it's not my
16:08
main hosting company it's my backup but it's what I use for my testing server and whatnot right and recently they've
16:15
added the ability to like basically they'll throttle you so if you publish too much
16:20
like they'll time you out for like five minutes and you can't publish for five minutes right
16:26
so this kind of solves that because we don't need to constantly be publishing to our server we can just test everything locally
16:33
um and then when we're happy then we publish our server and go get our cup of coffee because we because we deserved it
16:40
because we actually did all of our work and we're done right all right so just
16:46
you know some ideas about workflow and why why this could be a better approach
16:52
saves us a lot of time okay and let's show you okay so let's go ahead and
17:03
oh I'm going to show you on a project that actually probably makes sense one that I
17:08
actually do publish um probably this one probably doesn't make much sense let's go ahead and let's do a new one right I'm gonna go ahead
17:15
and open up my sandbox project it's a small project file just my playground project file for my sandbox site but as
17:22
you know I can go ahead and I can publish this right so I can go ahead and go file let's go republish all files
17:29
right and now this is going to go ahead and publish 636 files one one thousand two one
17:36
thousand three one thousand as you see it's it's not the fastest actually you know
17:42
dreamhost moving to a new server I swear my old server used to be a little bit faster but you know if you have to constantly
17:49
do this right oh you're and I'm not sharing my screen
17:54
okay so I'm publishing this project file my sandbox project I'm republishing all
18:00
files and you didn't miss much I just did five republisher files and as you see it's
18:05
republishing 636 files fun times and I'm sitting here
18:11
we're all sitting here watching this and it's all happened to us and we just sit here and we watch and we wait
18:18
and we wait and we wait right and there we go that probably took a minute maybe
18:24
okay um and this is a small this is a small project right if you see I only have
18:30
like half dozen Pages um it does have total CMS which has a quite a bit of files but
18:36
um it was a relatively small project and that took a minute right so
18:42
how can I do this with a new workflow so I'm going to go into
18:48
um my publishing preferences okay and what you'll notice here actually
18:53
darn it I I are gonna remove this all right
18:59
so this is my default publishing right when I click the publish button at the top it's going to publish to my server
19:07
okay but if you didn't know you can actually have multiple publishing destinations
19:14
which is kind of cool and so what we're going to do is we're going to
19:19
um we're going to add a new destination in here and let's give it a host and what I'm
19:24
going to do is I'm going to go HTTP colon slash we're gonna we're doing the
19:30
local version so we're gonna do localhost okay um no username and password and we're
19:36
going to do it to a local folder and I'm just going to call this
19:42
um I'm going to call this localhost so I have dreamhost
19:48
okay and localhost and we're going to choose the folder I'm going to create a completely new folder
19:54
let's go ahead and uh I'm gonna add one on my desktop right now just for fun all right
20:00
create a new folder we'll call it sandbox I'm going to create that I'm going to
20:06
choose right and if you notice here you can enter your website address um I guess when you put that into the
20:12
that screen before it didn't populate it here
20:17
okay so here I have I'm going to enter in localhost now if if you didn't do
20:22
that Port 80 thing like I did earlier we can do 888 and actually I'm going to change that back to use 888 okay
20:30
um and then yeah we're done okay so now what I'm going to do is
20:36
um now if you didn't know in the publish button you can click this little doohickey and you can choose which location you want to publish to
20:43
and you always know which when you click the publish button which one it goes to because it has dreamhost okay so I'm going to click localhost and
20:51
now I have localhost and now my publish button is here because it it knows I didn't publish anything there yet right
20:57
so I can go ahead and click publish
21:02
and boom done literally that was like three SEC two seconds
21:07
okay versus like a minute or two minutes sometimes publishing intake for some of you 10 15 minutes
21:16
right pretty cool now in map what I can do is I can go in my preference here let's go ahead and change that obviously
21:22
I change the location let's go ahead and uh fix that I'm going to put I'm going to put this back to the map default
21:27
since I set it to 8080 I'm gonna go server we're going to choose and I'm going to choose that folder that
21:33
I picked there sandbox
21:42
all right all right so now we're in sandbox
21:49
um oh let's add some content here just so we have a little bit of something here um it's a boring blank page there we go
21:56
look I made some changes I'm going to go ahead and publish and uh uh can we I guess you can't I
22:04
have open after publish turned off so we're gonna go to local oops
22:09
localhost 888 look see caching
22:14
there we go it was cached to the other one now here we go there's my site
22:22
so now I can I can go ahead I can make whatever changes I want in my project file
22:27
and when I'm ready I can then go ahead and switch my publishing destination to dreamhost and
22:34
publish this and there we go we're done pretty cool right
22:41
um so now I can make all the changes I want go to localhost and as you saw publishing is going to be super quick I
22:48
can preview this in my browser okay now one thing to note that this
22:54
local preview only works on my Mac
22:59
okay so that's that's an important thing to note uh the localhost it will only work on
23:05
your Mac um what can we do to test on things like this
23:11
or my iPad or other Macs on my network well we're gonna be talking about that
23:16
that would require map Pro okay um but
23:21
for now this is pretty cool right let's see if there's any questions here
23:29
Scott says preview is for and fill in the blank nice
23:35
um all right so this has I think we've kind of talked
23:43
about and showed you a pretty decent workflow now what's interesting is um let's go to the publishing settings again
23:49
uh Roy good question so mamp does have a MySQL instance okay so if you have
23:57
um Stacks that require MySQL you can set up that database locally I'm
24:03
not going to be going into MySQL but mamp does have MySQL and you can use your favorite MySQL apps locally to
24:11
connect to mySQL locally on your map server maybe add some test data
24:17
um so that then when you publish locally you can then access all of that data from your preview right so if you're if
24:25
your website that's published has a mySQL database you can have a mySQL database local that then maybe has test
24:32
data or maybe you replicate your data down I'm not going to go into MySQL today but it is there okay so
24:40
um actually if you're curious what mamp means um
24:45
so way back in the day uh or even now people call a lamp stack l-a-m-p is
24:53
probably like the most utilized web server stack okay in the world and what lamp
25:02
means is Linux Apache MySQL PHP
25:08
okay so that is the technology stack that serves up a majority of the web
25:15
now if you could maybe guess from now what does mamp mean well it's we're not running Linux we're running on Macs so
25:21
this means Mac Apache MySQL PHP okay now they've kind of added
25:30
to it you can actually run um a server called in Jinx right so you don't have to run Apache uh Apache is
25:36
the default but you can run in Jinx some call it nginx whatever you want to call it this weird
25:43
name in Jinx I call it in Jinx whatever nginx I think I think the technical
25:49
thing is nginx what but uh I call it in Jinx whatever okay um but Apache is what
25:57
most likely what your web server is going to be running okay
26:05
uh no this uh so Josh puts in
26:10
um a comment saying that this won't prevent hard-coded Warehouse links from
26:15
loading from your domain folder that is 100 True okay so if you're using
26:24
uh Jan ask well I'll get to that question um so if you're if you're warehousing links to your server on your domain it
26:32
will still pull those images from your web server online because you're giving the full URL to a particular image okay
26:40
now if you're using like a macro that then I don't want to go down that rabbit hole
26:46
get these people but um that is a great point if you are warehousing images and those warehoused
26:53
images are on your server even inside map they're going to be querying those
26:59
things um from your server okay um yawn then asks is manp run on Windows
27:04
manp actually does have a Windows version funny enough I believe they actually do call it wamp
27:11
um but yes they do have a Windows version okay but we're all Mac users here so
27:17
um but anyway uh there is a there is a whamp as well um on maps website
27:24
all right um how do we manage how do we manage the files in the finder to add my CSV files
27:31
for example so Sean um wherever basically you'd have to copy
27:36
your online server right so if you're um if your CSV file on your server is in
27:42
your resources folder locally it'll also be on your resources folder um inside an
27:48
amp if that makes any sense okay
27:53
um there are other workflows other than this right um another thing that you you
27:59
could potentially do is only ever publish locally um and then you know you have this file
28:05
inside finder um and then you could use something like transmit to then sync this up
28:11
to your server okay um if you do that workflow make sure
28:16
that your web address here is not localhost make sure that you set that to be your final one right because we we
28:22
want to make sure that your actual domain is there okay so if you use this setup make sure that this you know is
28:29
set to your domain not um localhost okay
28:35
um but yeah any anything else so if you have resources that like here I have a bunch of resources if you have a CSV file make sure that that CSV file is
28:42
here okay if you're using I'm assuming you're using something like feeds then feeds will be able to find it in on your
28:49
local Mac as as well just as it will online okay good question Sean thanks
28:57
I opened windows I did not want Windows yes I see Mac okay
29:03
um so yes uh yeah if map is just it's just map.info is the website
29:10
right yeah amp okay and I believe there is a Windows version right
29:16
um I think if you go to the buy page you can I think if you go to the buy page
29:21
uh yeah funny if they still call it mamp even though it runs on Windows
29:26
funny enough okay um why didn't they call it wamp that's
29:33
that's just call it wamp maybe I think back in the day the HD maybe there's some sort of legal thing or something like that but anyway
29:39
um there you go there is another uh app here called Namo
29:45
um Nemo namo um whatever it is uh we are going to be talking about that and what that's used
29:50
for
29:58
okay so let's now talk let's move and let's talk about mamp Pro
30:05
right I'm gonna go ahead and I need to stop mamp
30:13
uh quit mamp and now I'm going to start mamp Pro
30:30
and let's go ahead and click Start
30:40
now what's cool about map Pro let's go to the simple mode okay
30:48
um what's really interesting and I think one of the one of the biggest selling points to me for manpro is that you
30:55
don't have to use localhost you can set up your own unique domain
31:01
names okay so here is one um that I just called total CMS DOT test
31:08
and I'm going to open up my browser and in map you can actually the as you
31:13
see the interface is much different you can have as many websites as you want in the free version you have to
31:19
um you know you can only run one web server at a time here you can add as many as you want I do have a local host
31:25
here um but I also have total CMS DOT test and what's cool is I'm going to actually
31:31
go to uh total cms.txt
31:39
and oops here let's just go to
31:44
okay uh I forgot what this was and uh so total cms.test couple things you'll
31:50
notice uh yes this is some docs for total cms3 um I wasn't planning on showing this off
31:57
and I won't dive into it but there you go okay um so but let's look at what this is doing
32:05
for us okay didn't mean to leak any of this information
32:10
um what this allows us to do it gives us a full-blown web server locally
32:15
I can have a custom domain and and I have https
32:22
that's really cool so now I can have I can create whatever
32:30
domain I want right okay let's let's look at this sandbox folder here I'm going to go ahead and let's create a new
32:35
one um I'm going to create this as an empty thing
32:40
um I'm going to call this um local Dot Joe workman.net
32:49
okay um and my document root is I'm gonna go to my desktop let's go
32:56
to sandbox okay so there local.joeworkman.net is now pointing to
33:03
my sandbox okay and it's going to generate an SSL cert for me I'm going to say create host
33:11
voila so now I can go ahead and I can go to local.joworkman.net
33:17
in my browser
33:23
and it's going to put pie in my faces in it why didn't that work oh
33:29
um hold on one second
33:35
uh
33:47
oh let's see I do remember there was one I thought
33:53
the port settings were global
34:00
my databases into SSL I'm using Apache
34:05
uh General
34:14
oh I P address sorry why didn't that default to Star
34:21
let's re let's restart oh save and start
34:30
oh there it goes uh okay not sure why IP address didn't wasn't set for some reason all right
34:36
well that gets you um there we go all right so now you notice this was that that sandbox
34:43
project that I just published right and now I have a cool domain called
34:49
local.joeworkmen.net this is pretty cool
34:55
um now for ports I do have to rec I do have to say by default map Pro will use
35:00
uh non-default ports okay and what that means is if you go to the pre I think it's in preferences in it
35:07
uh no uh okay if you go to advanced mode so manpro has these simple versus advanced mode okay and then you go to
35:15
Ports and users okay and then click on the set ports to 80 uh this top button
35:21
80 81 443 blah blah blah blah blah click on that and it will default the port to
35:27
80 okay which means without going into it it means by default you would have to still do colon
35:33
8888 but we don't want that okay I just want to have this cool just domain so it
35:39
looks like a website right well it is a website but it's just local on my Mac okay so make sure you go into the ports
35:45
and users and click this button okay if you ever want to go back you can set map ports right but click this set Port
35:52
default ports okay and I think that was the only thing I
35:57
ever changed was that right there okay let's go back to simple mode
36:03
so pretty cool okay um
36:09
so mamp this feature here is I think a game changer okay being
36:15
able to just quickly invent my own domain now you want to make sure you don't put in your actual domain like
36:22
such as sandbox.joeworkroom.net which is an actual live website okay
36:27
um because if you do that right which oh yeah it's blank
36:32
all right um if you do that it won't ever go to your website and
36:38
it'll only ever serve up your local content so definitely make sure you choose a
36:44
domain that does not exist online at all okay and you can invent your own things
36:49
such as here's total cms.test or you can use a sub domain of an existing domain okay so here I'm using
36:57
local.joeworkman.net now the the
37:04
being able to use and dynamically create sub domains
37:11
for our actual domain is a game changer for total CMS
37:18
um local uh testing and whatnot why is that well
37:24
as you probably know total CMS is licensed per domain
37:29
so if you wanted to test total CMS you you have to you have to publish it to a domain you can't publish it to localhost
37:35
it has to be published to a licensed domain
37:40
but if I have Joe workman.net and local.jaworkum.net is just a sub
37:47
domain well guess what total CMS will also work um locally so now I can publish local
37:53
tests for my total CMS it'll work all 100 local
37:58
and then on top of that um it'll then the same license will be you know worked for local testing as
38:04
well as online okay in my production site online um so that's a really huge game changer
38:12
now if I were to let's go ahead and open up uh did I quit wrap Weaver oh no
38:19
good I still have it open all right let's go to now this is a really simple
38:25
blog project okay um and
38:37
um all right now as you know most of total CMS does work inside rapidweaver or
38:44
inside preview okay however um this is a this is a really small project file
38:51
um but if you have a large one you'll notice that sometimes previewing a total
38:56
CMS page depending on how many macros and blogs and and everything that you have on a page it could take a while to
39:03
preview which is why some users just publish in the neighbor preview
39:08
but what if we can configure rapidweaver preview to actually communicate to map
39:14
local right that could be pretty cool right um now again
39:22
this this is a really simple project so it's hard it's going to be hard to show you the performance difference
39:28
um but it's pretty big game changer now right now this is configured to
39:33
um connect to my web server um and I know that because it's it basically looks here it looks at your
39:41
website address right here so what I'm going to do is I'm going to go ahead and just change this to be local
39:49
okay um and let's go ahead and let's go back to blog
39:54
now if you look now it says no blog posts found and the reason for that is because
40:01
I I don't have any any blog data here right it's it's looking here
40:07
um it did create a CMS folder but there's no data inside CMS data okay because it's all local
40:14
so again um this does work
40:20
and earlier what I did was I I copied the CMS data folder off my
40:26
sandbox server um and downloaded it okay so I'm just going to go ahead and move it in here I'm going to replace
40:33
so now now I have CMS data so I'm going to go ahead and let's
40:39
change this let's go and refresh again and voila now you might not noticed it
40:44
there actually was a difference in performance of preview like this is pretty Instant versus what it was
40:51
um you know before but if you if you had a very complex page that had multiple macros and a lot
40:58
of stuff going on um this could be a game changer for your workflow now if you do use this workflow
41:06
you do want to make sure that that you only set this when you're working locally you're going to want to make
41:13
sure that you change this website address when you publish to your server
41:18
um now if you do publish to your server
41:24
okay um you could potentially leave this um but then when you go to your
41:30
publishing settings make sure that in your public when you're setting this is my live production server make sure your
41:36
website address is set here so I'm going to want to do https
41:42
sandbox dot Joe Workman .net all right that should okay
41:51
um make sure that when I publish the dreamhost it'll make sure that the website address is set to sandbox
42:03
test that though um I've never I'll be honest well I knew you can you can Define the website
42:08
address in multiple places and I've I've you know I have used this setup a little
42:14
bit oh like here here let's go ahead and set up we want this to be local.jord.net
42:20
now right yeah test that make sure that when you're publishing make sure that your
42:25
all your site is still functional and total CMS is actually still saving and and all that jazz okay
42:33
um or if you want to be extra cautious just make sure that when you are publishing you can change this website
42:39
um you know to the actual live production website but by changing it to the map server
42:45
that's local for now um it will make preview
42:51
a thousand times faster
43:05
Josh says you could use the actual domain inside mamp um but you just need to make sure that
43:11
you shut off amp if you want to see your server that is true um well I haven't tested that because
43:18
um amp does but behind the scenes it does stuff with something called your Etsy host file
43:23
which is like some local DNS name resolution um and I know that it populates that but if you stop the server does it remove
43:30
that stuff from Etsy host I don't know um here let's let's check out let's geek out a little bit
43:36
um so I'm on my Mac
43:41
and uh if I do cat slash Etsy posts we'll see that here local.joe
43:49
workman.net is there so is total cms.test
43:54
so I'm gonna I'm gonna stop namp and I want to see if this entry is still
44:00
there let's go ahead and try stop
44:08
look at that it does so that is nice map cleans up after itself okay so Josh is
44:15
correct um you could make this sandbox.joework.net
44:20
and whenever you are um previewing locally while amp is
44:26
running it'll always serve up local that's interesting um so yeah even I learned something new
44:32
during this live stream there we go so if you really wanted you could actually make this the same exact domain and at
44:39
that point here let's try it all right so I'm going to change this to be sandbox
44:44
um and we're going to start
44:53
and then in my project then in my project I could change I can keep all these to be sandbox
45:00
actually no I think this is an interesting workflow um and then we go back to my publishing settings and I make that sandbox as well
45:09
actually I mean if it's all you'll need to set this if it's already set in the publishing settings but okay
45:15
that's pretty interesting all right so we'll save that
45:20
um and we'll publish local and now now if I go to
45:27
um sandbox
45:33
all right uh here's a here's a good point the very first time at least for me I don't I think it didn't happen to
45:39
everybody that I've been talking to or helping set this up uh the first time you you go to
45:45
um your site served up with map you'll get this in Safari okay that's because Safari
45:51
doesn't necessarily like self-assigned SSL search or SSL search that namp uses okay so but this only has that you only
45:58
have to do this the very first time you ever do it on your Mac and you'll never have to do it ever again you just do show details and then you can just say
46:05
visit this website and yes I want to visit this website and there we go okay
46:10
um that's again the very own the very first time kind of glad we did that so you guys can see that
46:15
um so now I'm going to sandbox.jogrouping.net but it's serving up local content
46:21
right and if I go to uh blog it's blog test
46:27
boom all this data here this is served up for map
46:33
it is not getting served up for my domain okay how do we know that uh well we know
46:40
that um so if I go to the home page you'll see that I have this markdown but I know for a fact the the current online
46:46
web page if you guys go to sandbox.jog.net right now it's just a blank white page and there's nothing on
46:52
it okay um so let's go ahead I'm gonna I'm gonna stop mamp
46:58
and then I'm going to empty my browser cache and refresh and there we go now it shows me the
47:03
blank page which is what is actually online right now okay let's go ahead and start mamp
47:11
and refresh and there we go I get my local stuff so actually that's a pretty good workflow
47:16
I think that's a really really good work workflow
47:24
all right let me see uh there's a lot of chatter going on
47:31
note you will need a local copy of your CMS data folder yes that's what I did so um if you guys didn't you know I said I
47:37
downloaded the CMS data from my server and I put it in the folder that I'm publishing to in man that map is
47:44
configured to look at right so I'm publishing to my desktop this sandbox folder on my desktop inside there I
47:51
downloaded the CMS folder from my server okay um now we have to say is if you ever you
47:59
know update or change the data um so if I go in here let's go into this blog so right now I'm serving up from
48:06
mamp right um if I go to my blog admin
48:11
um and let's go ahead and uh
48:17
or let's delete this guy right here uh oh I can't
48:23
oh I can edit it I didn't put a delete button on here bad me okay um
48:31
all right so here I I saved something look total CMS is saving okay I edited
48:36
this blog post this blog post is only edited locally this won't change this
48:42
change won't be reflected okay so let's go back to admin you'll see that I have future blog post edited remember this is
48:50
currently on my local Mac okay now let's go ahead and turn mamp off
48:59
and if I or it's empty cache refresh if you notice that edit is gone because
49:06
now it's no longer going through mamp it's going through my server online
49:11
okay and this is the actual live data so just be careful know that you know
49:17
the data that you download and you have locally it's basically test data at that point okay unless you want to take the
49:24
step of like uploading everything again I wouldn't recommend that um but uh because then that you're
49:30
getting easily things that can get out of sync I would just say have an initial set of data Maybe locally it just test
49:36
data just to help you see things okay it is not live at all
49:42
so yeah um are there any recommendations when
49:48
you make regarding Mac resources CPU memory storage um no I mean man I I used to use it 10 10
49:57
15 years ago whatever um and it's pretty lightweight
50:03
um I mean yes I'm on a beefy mac studio now uh but I was running this on my
50:10
2016 Mac Pro uh laptop and it runs just fine
50:16
um so yeah I don't think it's any issues in terms of CPU in terms of disk space
50:23
um I don't know what size the app makes I think the app takes it takes a few hundred megabytes uh probably here let's
50:29
see if you're curious on how big Vamp is um
50:35
it is oh it's 1.5 gig so it is Big it's not tiny so it does have 1.5 gigabytes
50:43
um and the app is oh that's minimal 77 so right so it
50:48
takes up a giga space uh and uh yeah I think it's worth it I
50:55
think it's really good um it's not I don't think a gig is much okay nowadays so uh there's that
51:03
uh and if we're curious here let's here I'll even run activity monitor now
51:09
this is going to be I mean you can see how much CPU but again I I'm running a 2023 Mac Studio so
51:17
um and I don't even know if this will show up it's probably going to show up as Apache oh yeah
51:25
oh it's uh http there so there's the various processes
51:31
it's easing up almost no memory um or CPU it's using 200 megabytes of
51:38
memory okay um so yeah not much
51:43
uh now it you can serve up multiple websites as you see sandbox is a little bit uh this and we have
51:50
uh I don't even know what some of these other ones are interesting this one is definitely the vamp though right so it's
51:56
using 200 and less than 300 megabytes of memory okay
52:02
now if you were serving at multiple websites um oh one of these is my Safari tab
52:07
that's this could be Safari not even not even mamp because because if I close
52:13
that guy yeah one okay these are my Safari tabs not even mamp so um
52:21
not alone it's not even showing up anywhere
52:30
not sure let's see if it shows up in this graph it's not utilizing anything obviously
52:36
I'm running wirecast which is my live studio which that that's a big resource hog
52:41
um so it's not even showing up there okay uh I think that the the resource utilization is going to be very minimal
52:47
okay it's a very small footprint um okay the last bit I wanted to talk
52:54
about today um and it's 12 30 where we're reaching the end is okay so I have mamp cool
53:00
um now what I want to do is I want to run this bad boy on my
53:06
phone so I have sandbox.job.net on my on my Mac how can
53:12
I connect to that from my phone and it is a little complicated okay um
53:18
it's not stupendous I'll I'll admit it and man I'm really wishing I could share
53:23
my iPhone now screen like I did before on my lap when I had my laptop set up
53:28
let me see if I can quickly hold on one second let me see if I can
53:35
figure that out really quick oh wire cast
53:47
explain my phone screen I forget how I did this
53:55
iOS screen capture I do it
54:04
capture devices iPhone okay hold on let me let me see if I can do this one second
54:22
all right uh click on show click Thunderbolt blah blah blah show all devices
54:29
hold on give me a second guys this will be worth it I promise
54:48
come on guys all right
55:00
of course this FAQs out of
55:05
at a date
55:10
click on show USB devices to make sure right where is show USB devices
55:20
okay maybe switch
55:37
ah found it I show all devices
55:43
refresh
55:56
USB buses and lowering your resolution
56:19
not working guys shoot okay
56:25
darn it um shoot
56:32
read the chat go to new record uh open QuickTime oh go
56:40
to uh open QuickTime okay QuickTime
56:46
and then we can go to
56:53
file new screen recording
57:03
nope
57:14
opening a open QuickTime with phone connected go to new record video
57:20
new video there is no new video Josh
57:26
there's a new movie
57:35
I don't want to use my my I want to get my iPhone screen I would like I want to
57:40
show the screen which is what I used to do
57:48
I don't want to use my iPhone camera I want to use switch camera to iPhone
58:00
my iPhone doesn't show I I've Joe's iPhone camera but I don't want to use my iPhone camera I want to use my iPhone
58:07
screen yeah
58:13
I had this option in in wirecast but I can't I want to do my iPhone screen
58:20
oh well it's not gonna work I'll I'll try my best to show you guys
58:27
um over the camera okay oh over over the video feed here it's not too hard
58:39
okay um so what we're gonna do is um remember earlier I talked about an
58:44
app called Namo or Nemo not sure what what to do here okay so Nemo Nemo allows us to it's
58:53
essentially a DNS server that lives on your Mac okay now let me get rid of some windows
58:59
here so it's not confusing us we only have what we need
59:06
all right manpro ammo all right so here I'm gonna do I'm gonna
59:12
sandbox.job.net I'm going to click on plus and
59:18
I want to serve up my local IP address okay and it is currently active so it's
59:24
save D all right so here is the kind of the tricky bit is
59:32
getting my phone to recognize namo's DNS settings
59:39
okay okay and sorry I wish I could share my iPhone screen I will I'll do my best to
59:44
show you from here okay um first off what you can do is in ammo you
59:50
go to uh wind window no help DNS server IP address okay and this
59:57
gives you the IP address of your local Mac on your local network
1:00:02
okay then what you want to do is on your iPhone you're going to go to your network
1:00:08
preferences okay so you're going I'm on my Wi-Fi I'm going to click on the Wi-Fi okay
1:00:16
and then you're gonna go down to you're going to find DNS
1:00:22
and it is man it's all right you're gonna go to configure
1:00:27
DNS sorry this is Tiny sorry guys okay
1:00:33
uh by default it's going to be set to automatic okay um and what you're going to want to do
1:00:39
is you're going to want to set it to be manual okay then what you want to do is you
1:00:45
want to make sure the very first DNS server on your list is the IP address of
1:00:50
your oh and hold on I just realized you're not seeing me right so here let's
1:00:56
back up a little bit you go to you go to your current Wi-Fi connection okay you scroll all the way down to the bottom
1:01:03
and you configure and you click configure I configure DNS
1:01:09
okay then you're gonna set it to be manual that will allow you to edit this list
1:01:16
here and what you're going to want to do is you're going to make sure it has to be the very first instance okay and so
1:01:28
and sometimes it's a little finicky so you're gonna you're gonna go ahead and tap new server and I'm going to type in
1:01:33
the IP address that that we got from the the Nano app so I can do 192.168.
1:01:42
1.7.189 okay we're going to save that now
1:01:49
uh now I I haven't tried this since doing
1:01:57
iOS 17. in iOS 17 it does not allow me to edit
1:02:03
the order or or edit that top one which is a little annoying
1:02:08
so uh what I'm going to do is I'm going to go ahead and delete these other ones
1:02:14
so that the only thing on my list is my server
1:02:19
okay and you click save now
1:02:25
my iPhone is using um my local Mac as a DNS server
1:02:32
and if I now go to sandbox.jaworker.net
1:02:43
of course it's caching it's using the cached content because there's no easy way to for in
1:03:02
let's load a private window
1:03:18
oh one thing I've noticed okay uh it wasn't working it's loading from my server
1:03:24
um one thing I did notice is after you change DNS
1:03:30
um I found that in order for it to actually work you have to turn off Wi-Fi
1:03:35
and then turn it back on
1:03:42
then if we go and now it's giving me that similar
1:03:49
error that we got on my Mac earlier again this you only have to do this once I'm going to say I'm going to say show
1:03:55
details visit this website and voila it's worked and I know it's worked
1:04:01
because it's showing the data that is not published online okay now
1:04:09
I haven't figured out a great way to set this up as like a permanent DNS solution
1:04:15
okay because now it at least in iOS 17 I I
1:04:21
haven't played around with it much um I had to delete my other servers because it has to be able to show my
1:04:28
server at the top of the list and you can't change the order without deleting things which is a little annoying
1:04:35
um but even before um I I took the time to change the order and re-add everything as they were
1:04:40
before um I was having a little bit of issues um so what I've done what I did in the
1:04:47
past was that um I I change it to manual when I want
1:04:53
to test this stuff um and then when I'm done I then go back to my DNS and I set it back to automatic
1:05:01
and save it now it will it'll be done it'll you know work as it did before but it won't be
1:05:08
able to connect to my local map so whenever I want to test to connect my local map server on my Mac I go ahead
1:05:15
and change the Wi-Fi to manual and if you notice when you do that um oh shoot you have to reset it up it
1:05:21
used to save the information but now it didn't it went back to what the Autumn oh let's go back to manual yeah it did
1:05:28
so um there we go a little a little cumbersome but it it does work and I
1:05:35
think it's really really nice to be able to test and it'll work on everything in your local network as well so you can do
1:05:40
the same thing on your iPads or your other Macs and stuff like that um
1:05:47
there might be a better workflow for that I'm not sure but um it's kind of what I've come up with so far and I
1:05:53
think it really it works pretty well um so yeah let's see if there's any other yep no other no other comments
1:06:03
so that's the only thing Namo does if you think if you want to be able to test um locally from your phone or other
1:06:09
devices on your network on that little test server that you're connect you know creating on your Mac
1:06:15
um memo is is the deal it's kind of what you need and that was that plus the domain things were like
1:06:23
the missing piece for me for years and why I stopped using mamp because it just it didn't have features like that and
1:06:29
now that now it does and it's really really cool I really like it so anyway
1:06:36
um I think that does it for today um hopefully you got a little bit of
1:06:41
benefit from this setup um it is really cool I think it will drastically improve our time for
1:06:50
publishing right all that time publishing to our server isn't publishing and Publishing and Publishing
1:06:56
um can definitely be saved here um it can save us a lot of time and
1:07:01
headaches so and that's always a good thing um so mamp I I wish they were able to
1:07:08
send me a discount code for all you guys maybe eventually they will um I've sent them two follow-ups and
1:07:14
they haven't got back to me yet so um unfortunately I don't know if they will so if this is something that you
1:07:20
think looks cool to you um you can use the free version uh for now or you can use the pro I think Pro
1:07:26
Plus Namo like if they have a bundle I think it's like 100 bucks or something like that
1:07:32
um so it is an investment um but I think it's a good one um investing in our wasted time is you
1:07:39
know you can save 15 20 minutes a day times days and days
1:07:47
and days and days that save you hours and hours of publishing time so I think it's worth it
1:07:54
um hope you enjoyed it uh and uh yeah go forth and make your websites great
1:07:59
Everybody Take Care everyone see you on the community oh hey um I post some in the community I'm just
1:08:05
looking for feedback let me know what like some of your pain points are um I sent an email about it earlier this
1:08:10
morning too you probably got it if you're on the Weavers bytes uh email list
1:08:16
and uh yeah I'd love to get your feedback on you know helping form what
1:08:21
the future of these live streams will be what products are coming um hey and if since you stayed to the
1:08:28
end um here maybe a little or let me let me make sure my demo is actually up and
1:08:34
working right now hold on before I promise anything oh
1:08:47
all right here is uh here's a little sneak peek at uh what I'm working on yep
1:08:54
you guys you guys see the desktop so um it's been years in the coming right
1:08:59
uh but finally bentu is next up on the list um it's the I'm sure you've seen it it's
1:09:05
the on Weaver space right um
1:09:11
it's this little bad boy right here if you want to create layouts like this or if you want to create
1:09:17
awesome grids uh in Pages like this
1:09:23
um you'll finally you'll finally be able to so Ben 2 is coming uh it's coming on pretty nicely I don't have an ETA
1:09:30
um but um I think it's going along pretty quickly so um I'm really happy with it I'm not
1:09:35
going to give you guys a full demo it's definitely still under development um but exciting it's a cool one so
1:09:40
there's a sneak peek thanks for staying so long you got a little bit of sneak peek of what's what's to come
1:09:48
so okay guys that's it take care have a wonderful rest of your week hopefully
1:09:54
we'll see you on the Hangouts on Friday see you on the community post your questions get some feedback going on what what
1:10:01
your pain points are I'd love to hear it so we can make your lives a little bit easier and we'll talk to you later take care
1:10:07
everyone bye