Git Product home page Git Product logo

admin's Introduction

Admin

A simple admin module. This module helps to handle all other modules like:

  • CMS

Prerequisites

You will need:

Apache Configuration

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

127.0.0.1 myproject.com www.myproject.com

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

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

and paste this text:

<VirtualHost *:80>
	ServerName myproject.com
	ServerAlias www.myproject.com
	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 myproject

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/Admin.git"
        }
    ],
  1. Run the following commands from the console:
cd YOUR-INSTALLATION-PATH
composer update
  1. In the /config/application.config.php you have to enable these default modules:

    'AssetManager', 'ScnSocialAuth', 'ZfcBase', 'ZfcUser', 'GoalioMailService', 'GoalioForgotPassword', 'ZfcDatagrid', 'ZfcAdmin', 'BjyAuthorize', 'GoogleMaps',

    // Shine Software module 'Base',
    'Main'
    'Admin'

  2. Set the pdo.local.php with the mysql account

  3. Import the data/data.sql dump into you MySQL database

  4. Enable the module in the config/application.config.php

  5. Now open your preferite browser and type: http://www.myproject.com/.

  6. Hooray! You will see the standard Zend Framework page! Now you can see the module in action! How simple was that??

admin's People

Contributors

shinesoftware avatar

Watchers

 avatar

Forkers

gocheap

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.