Developer VM Documentation Issue #321
Open
opened 2026-06-29 08:37:46 +00:00 by rob
·
0 comments
Labels
Clear labels
Amazon FBA
Amazon FBA
Amazon Inventory
Amazon MCF
Amazon MCF
Amazon MCF
Amazon MCF
Amazon MCF
Amazon MCF
Amazon MCF
Amazon MCF
Amazon MCF
Amazon MCF
Amazon MCF
Amazon MCF
Amazon MCF
Amazon MCF
Amazon MCF
Amazon MCF
Amazon MCF
Amazon MCF
Amazon MCF
Amazon MFN
Amazon MFN
Amazon SP-API
Amazon SP-API
Amazon SP-API
Amazon SP-API
b2b
b2b
b2b
b2b
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Bug
Burn Rate Report
Burn Rate Report
Burn Rate Report
Burn Rate Report
Completed
Completed
Completed
Completed
Completed
Completed
Completed
Completed
Completed
Completed
Completed
Completed
Completed
Completed
Completed
Completed
Completed
Completed
Completed
Completed
Completed
Completed
Completed
Dashboard
Dashboard
Demand Planning
Demand Planning
Discussion
Discussion
Discussion
Discussion
Discussion
Discussion
Discussion
Discussion
Discussion
Discussion
Discussion
Discussion
Discussion
Discussion
Discussion
Discussion
Discussion
Discussion
Discussion
Discussion
Discussion
Discussion
Discussion
Discussion
Discussion
Documentation
Documentation
Documentation
Documentation
Doing
Doing
Doing
Doing
Doing
Doing
Doing
Doing
Doing
Doing
Doing
Doing
Doing
Doing
Doing
Doing
Doing
Doing
Doing
Doing
DOs
DOs
DOs
DOs
EasyPost
EasyPost
eBay
eBay
eBay
Enhancement
Enhancement
Enhancement
Enhancement
Enhancement
Enhancement
Enhancement
Exceptions
Exceptions
Generate Labels
Generate Labels
Generate Labels
Generate Labels
Inventory
Inventory
Inventory
Inventory
Inventory
Inventory
JIT Purchasing
JIT Purchasing
Locations
Locations
Multi-Warehouse
Multi-Warehouse
On Hold
Pick & Pack
Pick & Pack
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
Planning
POs
POs
POs
POs
POs
POs
POs
POs
POs
POs
POs
POs
POs
POs
POs
POs
POs
POs
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
QA
Quickie
Quickie
Quickie
Quickie
Quickie
Quickie
Quickie
Quickie
Quickie
Quickie
Quickie
Quickie
Quickie
Quickie
Quickie
Quickie
Shipments
Shipments
Shipments
Shipments
Shipments
Shipments
Shipments
Shipments
Shipments
Shipments
Shipments
Shipments
Shipments
Shipments
Shipments
Shipments
Shipments
Shipments
Shipments
Shipments
Shipments
Shipments
Shipments
Shipments
Shipments
Shipments
Shipments
Shipments
Shipping Connectors
Shipping Connectors
Shipping Connectors
Shipping Connectors
Shipping Connectors
Shipping Connectors
Shipping Connectors
Shipping Connectors
Shipping Connectors
Shipping Connectors
Shipping Connectors
Shipping Connectors
Shipping Connectors
Shipping Connectors
ShipStation
ShipStation
ShipStation
ShipStation
ShipStation
ShipStation
Shopify
Shopify
SKU Alias
SKU Alias
SKU Alias
SKU Alias
SKU Alias
SKU Alias
SKU Alias
SKU Alias
SKU Alias
SKU Alias
SKU Alias
SKU Alias
SKU Pickers
SKU Pickers
Suppliers
Suppliers
System
System
System
System
System
System
System
System
System
System
System
System
System
System
System
System
System
System
System
System
System
System
System
System
System
System
System
System
System
System
System
System
System
System
To Do
To Do
To Do
To Do
To Do
To Do
To Do
To-Fix
To-Fix
To-Fix
To-Fix
To-Fix
To-Fix
UI
UI
Unit Testing
Unit Testing
Unit Testing
Unit Testing
Unit Testing
Unit Testing
Unit Testing
Unit Testing
Urgent
Urgent
Urgent
Urgent
Urgent
Urgent
USPS
USPS
UX
UX
UX
UX
UX
UX
Walmart
Walmart
Walmart
Walmart
Walmart
Walmart
Walmart
Walmart
Walmart
Walmart
No Label
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: rob/pms3#321
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This issue serves as reference documentation for setting up a development VM, using the mid-2020 dev-vm setup.
This is mostly aimed at @rob - and assumes he'll be running on a mac. Others can follow along, and adapt these instructions to themselves, no matter what os they're using.
Prerequisites
ssh -T git@git.estack.com-- it should reply withWelcome to GitLab, @rob!)Video
There's a video to help you get through getting your mac set up to run a dev-vm. It pretty closely follows the instructions below. View it here: https://www.loom.com/share/0bf65e56ae394bc48f53468859d6c5b1
Getting the source code
Clone this repository to your local machine. I suggest making a "Code" directory in your home directory, and checking the project out there. In a terminal, you could do:
Any time you want to do something in the terminal, you can open a new terminal and type
cd ~/estack/pms3to navigate to the eStack code directory.Installing VirtualBox and Vagrant
You can follow the installation instructions at the respective websites for any OS. If you're running MacOS or Linux, you might consider using a system package manager like
aptorbrewHomebrew
If you're on a mac, you can use homebrew, and a handy script included in the eStack code:
Hit enter when prompted. Enter your MacOS password as needed.
Verifying VirtualBox and vagrant versions from the command-line
In a terminal, you can run the following commands. They should report versions >= 6.1.x for VirtualBox and >= 2.x for vagrant:
VPN Configuration
Our VMs can connect to a private network, which is useful for troubleshooting and testing. Each VM gets its own configuration, which contains some secrets, so you'll need to get your config from @tim. The configuration file is called
wg.conf, and should be placed in thedev-scripts(beside thewireguard.shscript) in your work dir.You can copy it there using the Finder, or use a terminal (assuming here you've downloaded it to your Downloads folder):
Boot your VM for the first time
There's another video here: https://www.loom.com/share/b2b5268a627848de89cdec4bf87eb6fa
This is easy. From inside your
pms3directory:The first time you run this, it will download the VM image, which is approximately 1GB, and may take some time.
Once you're returned to the prompt, you should be able to SSH into the box by running
vagrant ssh:Install dependencies
While SSH'd into the VM, run
composer installfrom inside the /estack dir:If you're prompted about the authenticity of
git.estack.com, enter 'yes' followed by hitting enter, so the process can continue.After installing a bunch of packages, it should print a line that says
Generating autoload files(in green), and return you to the prompt. You can ignore any warnings that might be printed during the install process.Smoke Test
At this point, you should have a functioning development environment. You won't have any eStack instances, but you should be able to see a login page at: https://cb.vm.estack.com/
You'll have to ignore an SSL warning in your browser, but once you do, you should see the familiar login screen.
NOTE: Trying to log in will fail.
cbis a special name in the system, but there's no actual database behind this instance.Create a real customer instance
Creating a real customer instance is pretty straightforward.
First, make sure you're logged into the VM:
vagrant sshThen change to the /estack directory:
cd /estackThen run the command to create a new instance:
bin/pms3 customer create-new <custId>(where<custId>is the customer-identifier (think 'cb') for the new instance. It looks like this: