Skip to content

NightWarriorbg/zaralab-api

 
 

Repository files navigation

ZaraLab API

A RESTfull API by ZaraLab team.

Requirements (development)

  • running MySQL server 5+ (default port)
  • PHP 5.4+
  • PDO PHP extension (cli mode) - php5-mysql on Ubuntu/Debian distributions
  • Xdebug PHP extension (cli mode) - php5-xdebug on Ubuntu/Debian distributions
  • Develo tool
  • (optional) global installed Composer

Environment Setup

  • Install MySQL (skip if already installed). Read the instructions for your operating system. For Ubuntu users
$ sudo apt-get install mysql-server mysql-client mysql-common
  • Install PHP and required extensions (skip if already installed). Read the installation instructions for your operating system. For Ubuntu users:
$ sudo apt-get install php5 php5-mysql php5-xdebug
  • Install develo. Read manual installation instructions on the develo project repository. Using make:
$ git clone https://github.com/mignev/develo.git
$ cd develo
$ make install

Project Setup

  • Fork & Clone
$ git clone [email protected]:YOUR_USER/zaralab-api.git
$ cd zaralab-api
  • Set some parameters:
$ cp app/config/parameters.php.dist app/config/parameters.php
$ vim app/config/parameters.php

Use your favorite editor in case you don't use vim.

The only parameters you need to set are db.user (your database user, most probably root, SHOULD have CREATE DATABASE permissions), db.password (your database user password).

  • Run the setup script
$ develo setup

You should be all set!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 93.0%
  • Gherkin 3.3%
  • Shell 1.9%
  • HTML 1.3%
  • Other 0.5%