Skip to content
This repository was archived by the owner on May 9, 2019. It is now read-only.

Setting up your development environment

xaav edited this page Sep 25, 2011 · 1 revision

Since HelioPanel is not designed to be a distributed web application, setting up your development environment may be somewhat complex. First, checkout the source with the following command:

git clone https://github.com/HelioNetworks/HelioPanel.git

Next, you will need to install all the dependencies for HelioPanel. To do this, we have provided a vendors script that checks out all the dependencies for you, and sets everything up:

php bin/vendors install

If you are running the script for the first time, you may see this message:

NOTICE: Please edit app/config/parameters.ini to match your environment.

Please edit app/config/parameters.ini with the appropriate settings. You will need to create an SQL database to run HelioPanel. HelioPanel supports all major SQL databases (not CouchDB/MongoDB/etc.), so you may choose which ever one you prefer. After you are done, run the script again:

php bin/vendors install

This time, if you do not see the message, you may proceed. Once you have installed the vendors, you will need to edit your HOSTS file. This is because HelioPanel is configured to run on a standalone domain, and cannot share a domain with other applications. Open the following file:

notepad C:\WINDOWS\system32\drivers\etc\hosts

Or, for those who use a better OS:

vim /etc/hosts

Then add the following line:

127.0.0.1 heliopanel.com

After you are done, you will need to add heliopanel.com to your httpd.conf file:

<VirtualHost 127.0.0.1>
DocumentRoot /path/to/heliopanel/web
ServerName heliopanel.com
</VirtualHost>

If you do not have any other VirtualHost directives in your httpd.conf file, you will need to add the following:

<VirtualHost 127.0.0.1>
DocumentRoot /path/to/htdocs
ServerName localhost
</VirtualHost>

Then, simply open http://heliopanel.com/app_dev.php in your browser. You may now start developing on HelioPanel.

Clone this wiki locally