Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Mylyn/Website"
(Created page with "To test changes to the website, you can push them to the staging branch and they will appear at staging.eclipse.org after a delay. If making more extensive changes, you may w...") |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | If you want to test changes to the website before they go live (i.e. before pushing to master), you can push them to the staging branch and they will appear at staging.eclipse.org after about 5 minutes. Note that the staging site may be shutdown without notice. | |
+ | |||
+ | == Testing Locally == | ||
If making more extensive changes, you may want to test them locally. Here are the steps: | If making more extensive changes, you may want to test them locally. Here are the steps: |
Latest revision as of 14:37, 6 October 2014
If you want to test changes to the website before they go live (i.e. before pushing to master), you can push them to the staging branch and they will appear at staging.eclipse.org after about 5 minutes. Note that the staging site may be shutdown without notice.
Testing Locally
If making more extensive changes, you may want to test them locally. Here are the steps:
clone the following git repositories
git.eclipse.org:29418/www.eclipse.org/eclipse.org-common git.eclipse.org:29418/www.eclipse.org/mylyn
and use /org.eclipse.mylyn.releng/vagrant/modules/mylyn/files as the working dir
add the following to /org.eclipse.mylyn.releng/vagrant/modules/mylyn/manifests/init.pp
file { "/var/www/mylyn": ensure => directory, # so make this a directory recurse => true, # enable recursive directory management purge => true, # purge all unmanaged junk force => true, # also purge subdirs and links etc. source => "puppet:///modules/mylyn/mylyn", require => Package[$requirements], }
file { "/var/www/eclipse.org-common": ensure => directory, # so make this a directory recurse => true, # enable recursive directory management purge => true, # purge all unmanaged junk force => true, # also purge subdirs and links etc. source => "puppet:///modules/mylyn/eclipse.org-common", require => Package[$requirements], }
Now you can use http://localhost:2080/mylyn