radphp/app

RadPHP application skeleton

Maintainers

Details

github.com/radphp/app

Source

Issues

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 0

Language:HTML

Type:project

v0.1.0 2017-12-09 03:58 UTC

This package is not auto-updated.

Last update: 2024-12-19 09:42:23 UTC


README

A skeleton for creating applications based on RadPHP framework.

Installation

With Docker (Recommended):

  1. First make sure you have Docker and Docker Compose
  2. Run composer create-project --ignore-platform-reqs -s dev --prefer-dist radphp/app [app_name]
  3. Change directory to [app-name]
  4. Run docker-compose up -d to run web container
  5. Go to you container with docker-compose exec --user=radphp web ash
  6. Execute composer update
  7. Then open http://127.0.0.1/ in your browser

With your own installation of web server and PHP:

  1. First make sure you have Composer
  2. Run composer create-project -s dev --prefer-dist radphp/radphp-app [app_name]
  3. Put [app_name] directory somewhere in your web root directory
  4. Create a virtual host config file in your web server and point it's root directory to web directory of [app_name]
  5. Add your defined SERVERNAME in front of 127.0.0.1 line in your /etc/hosts
  6. Then open http://SERVERNAME/ in your browser