-
Notifications
You must be signed in to change notification settings - Fork 24
Create a local alfresco environment
Our testing system uses the following technologies:
To install them, just type bundle
from the root folder of the project.
We currently support 2 platforms: Vagrant and Docker.
- Vagrant
- Virtualbox
- Make sure that
PATH=$HOME/.chefdk/gem/ruby/2.1.0/bin:/opt/chefdk/bin:/opt/chefdk/embedded/bin:$PATH
- Make sure that you have SSH Keys configured in GitHub
Depending on the platform of your choice, you can run a local environment by running:
bundle exec rake integration:#{platform}[community,converge]
Where platform is either vagrant
or docker
.
For more info on the usage of the rake tasks , check our how to test chef-alfresco guide.
Depending on the platform of your choice, vagrant uses 192.168.33.23 , while docker uses localhost.
Service | Port | Docker | Vagrant |
---|---|---|---|
Alfresco One / Alfresco Community Edition | 80 | Docker Alfresco | Vagrant Alfresco |
HAProxy Statistics Page | 9000 | Docker HAProxy (not available) | Vagrant HAProxy (not available) |
Apache Tomcat for Alfresco | 8070 | Docker tomcat-alfresco | Vagrant tomcat-alfresco |
Apache Tomcat for Alfresco Share | 8081 | Docker tomcat-share | Vagrant tomcat-share |
Apache Solr | 8090 | Docker Apache Solr | Vagrant Apache Solr |
Activiti | 8060 | Docker Activiti (not available) | Vagrant Activiti (not available) |
The only fully functional HTTP endpoint is by default Alfresco Community Edition on port 80. (Docker link. Vagrant link). The administration user is admin
and the password is admin
.
Access to the admin console is via http://localhost/alfresco/ and then Alfresco Administration Console link.
If you have issues installing the VM Guest Additions, run the following command
sudo ln -s /usr/include/ /lib/modules/3.10.0-123.el7.x86_64/build/