Skip to content

radphp/radphp-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RadPHP demo

RadPHP Demo license

A sample project for creating applications based on RadPHP framework.

Installation

With Vagrant and Docker (Recommended):

  1. First make sure you have Vagrant and Docker
  2. Execute git clone [email protected]:radphp/radphp-demo.git [app-name]
  3. Change directory to [app-name]
  4. Make sure you don't have web server running (If you need help!)
  5. Just run vagrant up
  6. Go to you container with vagrant ssh
  7. Change directory to you virtual gost root directory with cd /srv/www
  8. Execute composer update
  9. 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-demo [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

Bitdeli Badge