newdevs:testserver
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
newdevs:testserver [2023/04/14 10:41] – [Setting up a Development Environment] tmccanna | newdevs:testserver [2024/01/22 13:48] (current) – adding info on Git Bash gmonti | ||
---|---|---|---|
Line 5: | Line 5: | ||
Thank you to Blake Henderson and MOBIUS for the development of this Docker container that is specifically set up to edit Evergreen and have on-the-fly results on the Evergreen server. This container has been tested on Windows and Linux and theoretically will work on OSX. | Thank you to Blake Henderson and MOBIUS for the development of this Docker container that is specifically set up to edit Evergreen and have on-the-fly results on the Evergreen server. This container has been tested on Windows and Linux and theoretically will work on OSX. | ||
+ | |||
+ | README Page for the Container: https:// | ||
+ | |||
+ | Git Repo that builds the Container: https:// | ||
**Instructions: | **Instructions: | ||
- | - Install | + | - Install |
+ | - Install Git Bash and clone the Evergreen git repository - see https:// | ||
+ | - When installing Git Bash, make sure to choose the option " | ||
- Install docker on your workstation. On Windows, that's " | - Install docker on your workstation. On Windows, that's " | ||
- Make sure you're on a recent branch. Older branches (3.9 and below) may not work, as this container is running Ubuntu Jammy. | - Make sure you're on a recent branch. Older branches (3.9 and below) may not work, as this container is running Ubuntu Jammy. | ||
- | - Once Docker is installed and running, issue this command from Linux (update the folder paths to match your environment) | + | - Once Docker is installed and running, issue this command from Linux (update the folder paths to match your environment)< |
- | < | + | |
-p 5433:5432 -v / | -p 5433:5432 -v / | ||
- | test.evergreen.com mobiusoffice/ | + | test.evergreen.com mobiusoffice/ |
- | Or, on Windows PowerShell: | + | |
- | < | + | |
-p 5433:5432 -v // | -p 5433:5432 -v // | ||
-h test.evergreen.com mobiusoffice/ | -h test.evergreen.com mobiusoffice/ | ||
- | - This may take up to 15 minutes to bring the server online depending on your hardware. When you see this, it is finished: | + | - This may take up to 15 minutes to bring the server online depending on your hardware. When you see this, it is finished:< |
- | < | + | *****************************************************************************************************</ |
- | *****************************************************************************************************</ | + | |
- | There will be another minute or so delay for the Angular files to begin working. | + | |
- Press CTRL+pq to keep it running. (CTRL+c will kill the container.) | - Press CTRL+pq to keep it running. (CTRL+c will kill the container.) | ||
- Open a browser and go to 127.0.0.1 and click through any SSL warnings. | - Open a browser and go to 127.0.0.1 and click through any SSL warnings. | ||
Line 29: | Line 30: | ||
* Edits to the AngularJS folder Open-ILS/ | * Edits to the AngularJS folder Open-ILS/ | ||
* Edits to the Angular folder Open-ILS/ | * Edits to the Angular folder Open-ILS/ | ||
- | * Perl edits are not live (because Perl). Changes to the Perl will require Evergreen services to restart. Similar to the Angular compile trigger, you can trigger the container to restart the Evergreen services by placing a regular file in the root of your Evergreen folder called " | + | * Perl edits are not live (because Perl). Changes to the Perl will require Evergreen services to restart. Similar to the Angular compile trigger, you can trigger the container to restart the Evergreen services by placing a regular file in the root of your Evergreen folder called " |
- | cron job that runs on the minute every minute. | + | |
==== Grow Your Own Evergreen! ==== | ==== Grow Your Own Evergreen! ==== |
newdevs/testserver.txt · Last modified: 2024/01/22 13:48 by gmonti