https://github.com/tairov/test-frontend-clean-project
https://github.com/tairov/test-frontend-clean-project
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/tairov/test-frontend-clean-project
- Owner: tairov
- Created: 2016-05-17T03:35:51.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-17T10:23:36.000Z (about 10 years ago)
- Last Synced: 2025-02-14T11:41:27.979Z (over 1 year ago)
- Language: PHP
- Size: 964 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Installation
---
Installation process for debian-based systems.
### Requirements
----
* PHP 5.5 or newer
* Any webserver: [Apache](installation.md#markdown-header-apache-settings), nginx etc.
* [Mysql](installation.md#markdown-header-mysql-databases)
* GIT
```
sudo su
apt-get install php5 apache2 mysql-server mysql-client php5-mysql git
```
#### PHP Libraries
* Intl
* Curl
* Composer
* PDO
~~~~
sudo su
apt-get install curl php5-curl php5-intl
~~~~
We don't store composer.phar in the git, so you need to download it manually and install to common bin directory
~~~~
sudo su
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin
chmod +x /usr/local/bin/composer.phar
mv /usr/local/bin/composer.phar /usr/local/bin/composer
~~~~
# Set up the project
----
### Get code
---
``` git clone git@github.com:payeverworldwide/test-task-frontend.git ```
### Configuration
Install vendors:
``` composer install ```
### Database
(run commands from project root)
- Create mysql database
``` php app/console doctrine:database:create ```
- Create database schema
``` php app/console doctrine:schema:create ```
- Load doctrine fixtures
``` php app/console doctrine:fixtures:load ```