Coder Social home page Coder Social logo

kashandarash / blog-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zviryatko/blog-example

0.0 1.0 0.0 3.33 MB

ZF2+Doctrine2 CRM example.

Home Page: http://zf2-demo.makeyoulivebetter.org.ua/

License: BSD 3-Clause "New" or "Revised" License

PHP 2.47% HTML 35.22% ApacheConf 0.01% CSS 10.69% JavaScript 51.61%

blog-example's Introduction

ZF2+Doctrine example Application

Example of ZF2 + Doctrine application.

Demo

User: [email protected]

Pass: demo

Note: Application active development.

Features

Bootstrap 3

AdminLTE theme for admin pages

ToDo

  • Articles admin pages (list, add, edit)
  • User admin pages (list, add, edit, view)
  • ACL, user roles and pemissions
  • Fix password hash generating
  • Move file save path to config per entity
  • Drag-n-drop upload, multi-upload

Installation

git clone [email protected]:zviryatko/blog-example.git blog-example
cd blog-example

Phing

Install phing with git support:

composer global require phing/phing

And install via:

phing install

By-Hand

composer update
mysql -u root -p -e "CREATE DATABASE zf2_blog CHARACTER SET utf8 COLLATE utf8_general_ci;"
cp config/autoload/doctrine.orm.local.php.dist config/autoload/doctrine.orm.local.php
vim config/autoload/doctrine.orm.local.php
./vendor/bin/doctrine-module orm:schema-tool:create

Web server setup

PHP CLI server

PhpStorm

Go to Run > Edit Configurations, click on green sign and fill like in screenshot:

PhpStorm run configurations

After saving start web server Run > Run 'Local w/Xdebug'.

Command-line

The simplest way to get started if you are using PHP 5.4 or above is to start the internal PHP cli-server in the root directory:

php -S 0.0.0.0:8080 -t public/ public/index.php

This will start the cli-server on port 8080, and bind it to all network interfaces.

Note: The built-in CLI server is for development only.

blog-example's People

Contributors

zviryatko avatar kashandarash avatar

Watchers

 avatar

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.