Get @jaidev a working dev environment #359

Open
opened 2026-06-29 08:37:55 +00:00 by rob · 0 comments
Owner

I think this should now work, but need @jaidev to test. I've built a vagrant box that is configured for local development, and should work with minimal fuss. That said, I've only tested it in my environment, so there may be some things to work through. We'll use this issue to track things over the next few days.

The following steps should be all that's necessary to get a working vagrant dev environment:

  1. [host] git clone git@git.estack.com:tim/pms3.git estack
  2. [host] cd estack
  3. [host] git checkout spike/php72-real
  4. [host] vagrant up
  5. [host] vagrant ssh
  6. [vm] sudo curl https://getcomposer.org/download/1.9.0/composer.phar --output /usr/local/bin/composer && sudo chmod 0755 /usr/local/bin/composer
  7. [vm] sudo apt install php7.2-zip zip
  8. [vm] cd /estack
  9. [vm] composer install
  10. [host/browser] visit http://cb.vm.estack.com in a browser. You should be greeted by a login page.
  11. [vm] Run the following query in MySQL to create a Jaidev user:
INSERT INTO `User` VALUES (18, 'jaidev', 'solaxes@gmail.com', 'Jaidev', 'Bangar', 'JB', '21789c03bb71d5672c1057efecadf964926abafe63649400fa1c57d227869a01a5b7e38f49f00088899dc8a55a61f8f8911635d48c20c5077a645e4cedca7900', '973c1a097d95a9c5d10a1fe6321f6f11', 'admin', NULL, NULL);
  1. [host/browser] log in with user: jaidev password: Pass4jaidev

NOTE: If you don't have a properly working SSH Agent running in your host environment, you may need to create an SSH keypair inside the VM (ssh-keygen t rsa) and add the public key to your account in gitlab, so that composer can check out a few libraries hosted there.

I think this should now work, but need @jaidev to test. I've built a vagrant box that is configured for local development, and should work with minimal fuss. That said, I've only tested it in my environment, so there may be some things to work through. We'll use this issue to track things over the next few days. The following steps *should* be all that's necessary to get a working vagrant dev environment: 1. [host] `git clone git@git.estack.com:tim/pms3.git estack` 1. [host] `cd estack` 1. [host] `git checkout spike/php72-real` 1. [host] `vagrant up` 1. [host] `vagrant ssh` 1. [vm] `sudo curl https://getcomposer.org/download/1.9.0/composer.phar --output /usr/local/bin/composer && sudo chmod 0755 /usr/local/bin/composer` 1. [vm] `sudo apt install php7.2-zip zip` 1. [vm] `cd /estack` 1. [vm] `composer install` 1. [host/browser] visit http://cb.vm.estack.com in a browser. You should be greeted by a login page. 1. [vm] Run the following query in MySQL to create a Jaidev user: ``` INSERT INTO `User` VALUES (18, 'jaidev', 'solaxes@gmail.com', 'Jaidev', 'Bangar', 'JB', '21789c03bb71d5672c1057efecadf964926abafe63649400fa1c57d227869a01a5b7e38f49f00088899dc8a55a61f8f8911635d48c20c5077a645e4cedca7900', '973c1a097d95a9c5d10a1fe6321f6f11', 'admin', NULL, NULL); ``` 1. [host/browser] log in with *user*: jaidev *password*: Pass4jaidev NOTE: If you don't have a properly working SSH Agent running in your host environment, you may need to create an SSH keypair inside the VM (`ssh-keygen t rsa`) and add the public key to your account in gitlab, so that composer can check out a few libraries hosted there.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rob/pms3#359