Clone this wiki locally
This page tells you how to create a local UmpleOnline web server on a Windows machine. For Mac/Linux directions, refer instead to this page.
The following instructions assume you are using Apache.
Prerequisite: Doing a full build of Umple on your machine
The instructions on this page assume that you have cloned Umple from github and have done a full build. Follow the development setup instructions first, before setting up a local UmpleOnline.
Step 1: Locate your Apache httpd.conf file
On Windows 7:
Step 2: Edit the httpd.conf file to add a virtual host
You will need to change the permission settings for the file.
#LoadModule rewrite_module modules/mod_rewrite.so
LoadModule rewrite_module modules/mod_rewrite.so
Search for DocumentRoot and point it to your UmpleOnline code.
and point it to your UmpleOnline code.
DirectoryIndex index.html index.php
AddType application/x-gzip .gz .tgz
Add the following below it:
AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps
Add a virtual host to point to the umpleonline directory in your working copy.
Search for 'Virtual hosts' in the file.
Add the following: (making sure that you specify your path where it says 'path/to')
# Virtual hosts <VirtualHost 127.0.0.1:80> DocumentRoot "path/to/umpleonline" ServerName cruise.local </VirtualHost>
Step 3. Restart Apache
Restart Apache and in your browser, go to http://127.0.0.1/umple.php
If all you see if the source code, make sure that PHP is installed.
If you are unable to edit or save changes to the
Right click on the file -> Select the Security tab -> Click Edit
Select Users -> Modify the Allow -> Click OK
Also, remember to ensure that the path variables are added for Apache and PHP.
You can verify by going to:
Start -> Right click on Computer -> Click on Properties
Select the Advanced tab -> Click on Environment Variables
Check PATH in User variables.
If you have problems, consider editing the 'httpd-vhosts.conf' file to specify the virtual host there.