An easy guide to making a WooCommerce store

I’m mostly putting this up for my own benefit, as every time I end up doing this I have to relearn like 90% of the process and I’d like to have a reference document.

So, start by picking up a domain name. I like to use Namecheap, but there are a million domain registrars, pick your favorite.

Go download PuTTY if you don’t have it already.

Next, pop over to DigitalOcean. They have a great guide for setting up WordPress on one of their droplets (and a lot of other stuff): https://www.digitalocean.com/community/tutorials/how-to-use-the-wordpress-one-click-install-on-digitalocean. I generally start with the cheapest droplet and will move up from there if necessary.

When you get to the bottom of the page, there’s a section marked “Add your SSH keys”, which you want to do now because it will save you more confusion later. Open up PuTTYgen (which is a separate program from PuTTY, but was installed with it), and generate a key (you should be able to leave the default parameters, they should be RSA and 2048 bits). You will need to save the public key onto the server and keep the private key for logging in. DigitalOcean now includes SSH key generation in droplet setup, although I haven’t actually used it myself.

At some point in here, point the nameservers to the right place. DigitalOcean has a guide here: https://www.digitalocean.com/community/tutorials/an-introduction-to-digitalocean-dns but for Namecheap domains you can just go change the nameservers to “ns1.digitalocean.com”, “ns2…” and “ns3…”.

When you go to log in with PuTTY as shown later in the instructions, you need to use that key. They’ve also written a guide for that: https://www.digitalocean.com/community/tutorials/how-to-connect-to-your-droplet-with-ssh

Don’t forget to save the login settings in PuTTY.

While you’re SSHed into the server, follow these instructions to setup an SSL certificate on your server: https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-16-04

DigitalOcean’s WordPress installation now includes setting up a LetsEncrypt SSL certificate, just follow the prompts once you’ve SSHed into your server. Now your server should be running WordPress and you should have a valid SSL certificate, and the prompt will now include creating an admin account. Go make a login for your site. Note: do not use “admin” — this is a potential attack vector; I strongly suggest using a password vault in general in your life, and in particular using a random character name and password for the site. Remember that anyone who has this login has access to all the data on the site, including the database.

You will also need to setup the DNS records on DigitalOcean, including the CAA record for the the SSL cert.

Ensure the “WordPress address” and “Site address” to the url you got the SSL certificate for. Note that it must much exactly — if you got “xyz.com” you should put in “https://xyz.com”, not “https://www.xyz.com”.

The next step is to add plugins. I am not a guru of WP plugins by any means, but I like:

  • Obviously, WooCommerce. Without this, it’s not a WooCommerce site.
    • WooCommerce Services — supports other plugins.
    • WooCommerce PDF Invoices and Packing Slips
    • WooCommerce Stripe Gateway
    • WooCommerce PayPal Express Checkout Gateway
    • UPS (BASIC) WooCommerce shipping
  • Really Simple SSL (setps up everything except the certificate)
  • Jetpack by WordPress.com
  • Backup WordPress
  • All In One SEO Pack
  • Elementor (landing page creation)

You’re ready to go — setup products, fine tune your marketing, make whatever custom pages you want.

Mill Upgrades – Spindle Upgrade Part 4

Time to switch the tapered roller bearings (TRB) out for angular contact bearings. The primary benefit is that AC bearings allow higher speeds, particularly when running only with grease. First step was to pull off the seal above the top spindle bearing, remove the nut and pull the spindle out.

I dunno what kinda grease was in here, but there’s certainly a lot of dirt, probably largely as a result of having too much grease. This machine has probably only run for a couple hundred hours, so realistically the grease pack it had now should have lasted a while, and you can see in the first picture that the rollers look pretty clear (the grease forms a thin film on the rotating elements of the bearing).

I didn’t take any pictures apparently, but to get the quill out of the machine, you need to remove the quill retaining bolt (on the left side of the head), then loosen the quill lock. If you have the quill arm that may need to be removed, but as I have already removed mine I’m not sure. I have also already removed the quill DRO and the clamp that holes it

The next step is to knock the TRB cones out of the quill.

I cleaned up the quill face a bit after this, but you can see how much grease was jammed into the rollers and cages when I removed them, and how dirty the inner bore is. Most of the inner bore was hard enough it didn’t come off by wiping, and that stuff I left in there. Whether that was a good choice remains to be seen.

Time to press in the new AC bearings. Note: it would have been a better plan to grease them before doing this.

And back into the machine.

Now, I put way more grease than necessary because I forgot to grease them before, and my hope was that some excess would move under gravity in the top bearing, and that I would force some through by hand in the bottom bearing. I also wiped away a lot of the grease after running the spindle at 500 RPM for a little while to warm things up and spread the grease onto the balls. You’re only supposed to fill about 1/3 of the open space in the bearing (according to SKF, who should know), however ultimately the grease will convert to a thin film and coat the bearing, and any real excess will be forced out, particularly at high RPM. Excess grease will hold onto dirt and potentially migrate back into the bearing which isn’t great. If the space confines the grease in the bearing it will also cause excess heating, even if it’s clean.

Here’s what they look like after a few hours of running. I ran the spindle up to 7k in 500 RPM increments over the course of 5-6 hours (I was working on other stuff around the shop, the only rule I had was that I waited at least 10 minutes to measure temperature, and if I had already measured noise then I confirmed the measurement).

Spindle bearing noise comparison.png

The noise produced with the AC bearings is lower than the TRBs, although the modified motor and spindle pulley mounting may be a factor in that. Both are way better than the geared setup, which ran at 85 dB at 3k RPM.

One interesting thing to note was the peak around 6k RPM — some sort of resonance frequency perhaps. I remeasured that point going up and down several times to confirm, but it really does get quieter if regardless of whether the RPM is reduced or increased from there.

Spindle bearing temperature

Both bearings are in a good temperature range for the application, and there’s certainly head room to run the spindle faster. I’ve gotta scratch my head some more about why the smaller bearing is hotter.

Time to pop the seals back on and try out ripping some aluminum.

 

 

Mill Upgrades – Spindle Motor Part 3

The new spindle motor and pulleys are finally installed and working (and all the gearing and oil is out of the head).

As you can see in the picture below, I ended up with two cap screws to hold the spindle pulley in place. This is because I did a poor job on the bore and the pulley had 0.020″ runout. I just added the second cap screw and got it to within 0.002″, which really reduced the noise level.

The next step is to run the spindle up in steps and see how the temps look. It’s currently running the stock bearings, but I do have replacement angular contact bearings that are good up to at least 8k RPM with grease.

After that I want to try out some commercially available pulleys as I put together the BOM and instructions for the plans I’ll be selling.

IMG_3300

The biggest benefit by far is the difference in noise level. It now makes 77 dB at 3k RPM, compared to 85 dB with the gears in place.

Mill Upgrades – Spindle Motor – Part 2

Running into many more roadblocks than expected on this. I missed some critical factors when planning the installation of the original motor and as such had to recut the motor mounting plates (which required reinstalling the original motor and all the head gearing), and I’ve been distracted by working on the air compressor.

IMG_3212

I finally got around to testing the upgrade VFD, only to discover that it’s throwing a ‘low DC bus voltage’ error, which probably means something inside is not working right. I couldn’t get it working again and a replacement is $1k (I paid much less for mine on Ebay, but there don’t seem to be any floating around there now). I confirmed the motor worked with my Huanyang VFD, but I don’t trust one of those enough to make it permanent. Also, the cast iron motor I have is crazy heavy (100 lbs), so both for ease of installation and Z-axis acceleration a lighter motor is a plus.

img_3253.jpg

I went out and bought a used Baldor EM3610T (3 HP, two pole, 240V, steel banded case) on Ebay, and had to wait a few days to find out which face mounting kit was correct (according to Baldor, the 35-1325GLD, the 35-1325 will work too but the color doesn’t match). Finding C-face kits can be a pain and I strongly suggest you buy a motor which is sold with it already installed, like the CEM3610T.

I also bought an LS (formerly LG) VFD from Wolf Automation. There are a lot of good options for cheap single-phase drives in this horsepower range, including Fuji and Delta.

IMG_3222

The motor and VFD have been tested and are working, just waiting on the face mount to show up. The VFD is currently running the original 1.5 HP motor. Once the new face mount shows up it’ll be time to pull the head back apart and mount the new motor.

Compressor Refurbishment – Part 5

Time to clean everything up. I pulled the rusty valves apart (after cleaning the outsides up), and they range from not rusty at all to very, very rusty inside.

img_2932.jpg

The inside and top sealing surface of the crankcase cleaned up. See that tub next to it? That sludge was inside before. Yuck. I’ve already cleaned off most or all of the old gasket at this point.

IMG_2934

Here’s what the old gaskets looked like (I mostly removed them with a razor blade and a plastic scrubber).

IMG_3023.JPG

Installing the new gasket at the other end.

IMG_3135.JPG

And all back together.

IMG_3136.JPG

After flipping it on, there seems to be some knocking in the valves and the hydraulic pressure is low. So a little more work to get over the finish line.

Shars 440V 4″ Vise Review – Part 2

Got the Haimer in the spindle and off we go. Note that nothing here is statistically significant and the equipment being used is really not the right stuff (a Faro arm, or at least a large surface plate and a good indicator, would be a better choice but aren’t available), so take the results as you will. This is good enough for the work this machine does, and to confirm I’ve spent my money less poorly than I would otherwise.

Jaw alignment: measured at 0.0005″ off over 4″. I got the fixed jaw flat, zeroed out the indicator on the left side of the moving jaw, and got the reading shown below on the right side.IMG_3098.JPG

Parallelism (to spindle): 0.0006″ over ~5″. The bed drops away on the side further from the spindle. I will admit that it’s just as likely this is the machine. I didn’t have a piece of ground stock to test it lying around.

Clamping displacement: 0.000″. Unclamped and clamped shown below.

I’m happy with it so far, time to drop in some soft jaws and make some parts.

Compressor Refurbishment – Part 4

Mounting the crankshaft on my little lathe turned out to be pretty straight forward: using my Noga indicator holder again, this time with the cheap Fowler indicator from my last post followed by a 0.0005″ B&S indicator, I got the rear main journal bearing  centered in the chuck. I then followed the same procedure to get the front main journal bearing centered in the steady rest.

The plastic sheeting is to keep the carbon in the cast iron from getting on the ways. In retrospect I should have use something hard, at least between the chuck and the follow rest, to make cleanup a bit easier. Still, no harm no foul.

IMG_2825.JPG

I’ve done long work a few times on this lathe (primarily drilling out aluminum paintball barrels for sizing inserts), and knew I’d need to add a modification to turn cast iron (because of the force involved). The original steady rest jaws are bronze with no rolling components. I added some small bearings with simple shoulder bolts into the jaws. Not my favorite solution, but very easy. I think it’s likely I’ll go back and make a set of jaws that supports the bearings on both side in the future.

The original shaft was 01.375″, I took it down to 1.290″.

img_2844.jpg

You can kinda see this in the above photo, but this makes it very obvious that the old center (which I used to mount the gear puller when I removed the pulley) is no longer centered on the new shaft. This should not be a problem.

IMG_2834

Similarly, the keyway is no longer parallel to the shaft. This could be recut on the mill, leaving a little unused slot on each end, but I decided to accept a shorter key in this case.

IMG_2840

I forgot to take pictures while making the spacer (made from 1.185″ ID, 1.375″ OD 4130 tube) and test fitting everything, so we’ll skip to putting the bearings on. I initially tried to hand fit them by putting them in the oven, but I guess the clearance wasn’t quite enough at 250°F, so I pushed them the rest of the way on. They slide around two tons of applied force.

IMG_3051.JPG

To be followed by some cleanup on the rest of the unit, then reassembly!

 

Shars 440V 4″ Vise Review – Part 1

I’ve gotten tired of the cheap vises I originally bought with my machine (both low quality Chinese or Taiwanese units), as well as the used double station vise I picked up off Ebay (which I don’t see a brand name on). I set out to find some new ones with a few goals:

  • Maximize density on the table.
  • Get ‘good enough’ accuracy. Most of the time I don’t expect my machine to hold 0.001″, and never better than that.
  • Minimize cost.

I started by looking at vises in general, but primarily 6″ and 4″ units. After screwing around in Solidworks a bit, I confirmed that there is really no way for me to fit more than two 6″ vises from any brand on my table without significantly reducing Y-axis movement. That’s probably fine for most of what I do, but I have some small parts I’d really like to be able to drop a lot of in these, so higher density would be nice.

Once I focused on 4″ units, it really came down to a few options:

  • Glacern
  • Shars
  • Quad-I

Quad-I is unfortunately out of business, but based on my findings on Practical Machinist and Ebay they made some stuff that would have been perfect. Probably would have been too good (and pricey) for use in the case, but regardless not an option.

Between the Shars and Glacern vises there were a few things to compare:

  1. Glacern offers matching bed heights, Shars does not. I don’t think this will be critical for me, but something to keep in mind.
  2. Price: Glacern $360; Shars $250 (plus shipping for both).
  3. Overall length: Glacern lists theirs as 13.2″ long, versus Shars at 13.779″ (I’m thinking they shouldn’t have listed that level of accuracy though…).
  4. Distance between jaws: both give dimensions with 0.59″ thick jaws, Glacern says 4.05″, Shars says 6.02″.
  5. Similar overall width: Glacern at 6.35″, Shars at 6.535″.

Both units take standard jaws (3/8″-16 bolts on 2.5″ centers); standard mounting dimensions (5.25″ centers); 2.25″ +/-0.0005″ bed heights; use the wedge & hemisphere type anti-lift jaw (Kurt invented this as ‘AngLock’); have integral key and double bolt fixed jaws.

If I were putting this on a Haas or Fadal or other serious machine I would likely never have looked at Shars at all, but I figured in this case it was worth it and bought two. I can fit three (and squeeze in half a fourth if necessary), but this should be good for now.

Unboxing time. Pretty clear that they’re reusing boxes from other parts for the external shipping box. That said, the box for the vise itself (bottom right corner here) at least looks neat.

Inside, there’s two pieces of foam and a smaller box with the handle in it. I’m not actually going to use this handle, but I did notice that it’s just bouncing around in its box (banging on the side of the vice), which seems like an oversight to me. It’s clearly beaten up the box it’s in really well.

The vises also include individual data sheets, although I have my doubts about their veracity (the classic cheap tool QC ‘measurement’ that looks hand written but is printed on is definitely a warning sign here). The numbers in the upper right hands corners do at least match the serial numbers shipped to me.

img_3025.jpg

The vise itself is in a blue plastic bag with a decent but not overly thick coating of a pretty sticky oil (does not appear to be as viscous as Cosmoline or any of the other really thick oils I’ve seen on other cheap vises).

Once these were on the bed I tried out loosening and tightening them, and these things are seriously tight. No problem with my standard short ratchet wrench that I use on the mill anyway, but still concerning. Upon further inspection, it looks like there is junk in the threads. If that’s gotten into the nut portion of the moving jaw, it may be binding. Alternatively it might just be a very tight

img_3048.jpg

Overall, the fit and finish is basically what I expected. From a mechanical perspective, the fixed jaw key doesn’t look great. The key itself doesn’t look the same from one unit to the next, and I can’t tell if there’s a weird relief being cut where the key meets the jaw, or if that’s just a poorly ground surface. There are also paints flecks in a few spots that should be bare and bare metal in a few spots there should be paint. I see minimal tool marks on most of the surfaces seen from the top, I’m not sure if these have been polished post-grinding or if this is just a finer ground finish than I’m used to seeing.

The bottom has similar issues to the top in terms of paint. Not a big deal, but also not that hard to get right. The vise includes two 1/2″ x 3/4″ keys but I have 9/16″ slots so they’re not useful to me. It is nice that it has key locations along both axes. The grinding on this side is definitely visible and looks a little non-uniform, I can’t figure out if this is scratches from some other part of manufacturing and not all grinding marks.

img_3037.jpg

That’s it for unboxing, next step will be measuring these things to see if they match the specified flatness and parallelism.

Compressor Refurbishment – Part 3

Since the compressor is apart, I might as well check out the head and see what needs to be repaired in it. Since the head was off the unit, I pulled out the pistons. Dirty, but overall they don’t look worn or damage, which is nice. The big one is the low pressure piston (compresses air from outside), the small one is the high pressure piston (compresses air from the LP piston).

IMG_2516.JPG

IMG_2511.JPG

IMG_2513

Dirt on both will be removed with some disk brake cleaner (it was handy), and they should be ready to go back in. Time to check the cylinder bores. First the low pressure, then the higher pressure.

IMG_2521.JPG

Looks like the exhaust valve on this is pretty rusty. Maybe caused by condensation as the hot compressed air is forced out past it? You can see another of the seals here. They’re used at all the connection points, I’ll have to grab a plastic scraper to remove them.

IMG_2518.JPG

Not the greatest picture, but again the exhaust valve looks a little rusty. Of course, to pull the valves I had to drop the head back on the crankcase. Poor planning on my part.

Those are some pretty rusty valves…time to clean those up, order replacement gaskets, and pull the bearings on the crankshaft so it can be mounted onto the lathe.

Mill Upgrades – Spindle Motor – Part 1

The first order of business is to uninstall the old motor. That’s pretty simple: unscrew the wires in the junction box, pull the four bolts that hold it to the head, and lift it off. At 50 pounds, it’s heavy but not too difficult (note I’m 6’2″ and 230# — possible bias).

While I’ve got the chance, I’m going to pull the gears from the stock drivetrain out of the head. This will remove a little weight (any more weight I can remove is a good thing — the new motor is 100 pounds), but most importantly it will prevent the gears from engaging by accident. It’s also a good opportunity to drain the oil from the head.

Gears and gearbox cover pulled off the mill. The shaft closest to the top is the motor driveshaft, the second on is an intermediary that transfers power to the high/low gear shaft, which is the one laying down. The final shaft is more of a collar that fits onto the spindle.

IMG_2491

Here’s the inside of that shaft. It looks like this part was made by pressing a few separately made parts together, although I’m not 100% sure on that. It’s certainly a complex part, with the internally broached keyways for the spindle spline and two sets of gear teeth.

This could probably be removed at this point, but I left it in since it liked helps to stabilize the spindle. This will be particularly important once the belt drive setup is applying force all the way at the top end of the spindle.

IMG_2497.JPG

Here’s the top of the spindle. That cover (covered in oil, with the three screws, around the spindle) is the oil seal, which I’ve left in for now.. I’ve drained most of the oil out at this point (into the pan below the head, somewhat visible).IMG_2493.JPG