Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/websoftwares/example-webapp


https://github.com/websoftwares/example-webapp

Last synced: 29 days ago
JSON representation

Awesome Lists containing this project

README

        

#Example web application
PHP Example web application with an [Action-Domain-Responder](https://github.com/pmjones/adr) skeleton

##System requirements
- PHP 5.5+
- MySQL 5.6+
- Linux system
- [Working smtp server](http://askubuntu.com/a/368046)
- Memcached, Easy insall on ubuntu systems:

```
sudo apt-get install memcached php5-memcached
```

## Installation

1) Execute the database queries from the sql folder.

2) Create a .env in the root (not document root) folder use the example to match your environment.

3) Install composer in your project:

```
curl -s http://getcomposer.org/installer | php
```
4) Install dependencies:

```
composer install
```

5) Start php web server from root folder (not document root)

```
php -S localhost:8080 -t public/
```

## Testing
In the tests folder u can find several tests.

## License
The [MIT](http://opensource.org/licenses/MIT "MIT") License (MIT).