Skip to content

omusico/Base

Repository files navigation

Base Module

Main module for all the common features of the ShineISP project

Prerequisites

You will need:

Apache Configuration

Now we have to tell to our Apache webserver that we have a new site called shineisp.it (the tld could be changed properly as you like) Open the /etc/hosts file and type:

127.0.0.1 shineisp.it www.shineisp.it

Create a new file by your preferite text editor I am using the "nano":

sudo nano /etc/apache2/sites-available/shineisp.conf

and paste this text:

<VirtualHost *:80>
	ServerName shineisp.it
	ServerAlias www.shineisp.it
	DocumentRoot /var/www/PROJECT-FOLDER/public
	SetEnv APPLICATION_ENV "development"
	<Directory /var/www/PROJECT-FOLDER/public>
	    DirectoryIndex index.php
	    AllowOverride All
	    Order allow,deny
	    Allow from all
	</Directory>
</VirtualHost>

and then enable the website configuration by this shell command:

sudo a2ensite shineisp

and reload the Apache configuration by this shell command:

service apache2 reload

Getting Started

To get the application running, perform the following steps:

  1. Create a new application by Zend Framework 2 cloning the Skeleton.
  2. After creation, paste the following JSON into the "composer.json" text file within the repositories section:
    [
        {
            "type": "vcs",
            "url": "https://github.com/shineisp/Base"
        }
    ],
  1. Run the following commands from the console:
cd /var/www/YOUR-INSTALLATION-PATH
composer update
  1. Navigate to [www.your-shineisp-domain.com].

  2. Hooray! Now open your preferite browser and type: http://www.shineisp.it/ you will see the standard Zend Framework page! Now you can see the module in action! How simple was that??

About

Common classes for ShineISP 2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published