radphp / radphp-demo
RadPHP demo application
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=5.5.21
- radphp/admin-bundle: dev-master
- radphp/migrations-bundle: dev-master
- radphp/pages-bundle: dev-master
- radphp/radphp: dev-master
- radphp/twig-bundle: dev-master
Requires (Dev)
- phpunit/phpunit: 4.5.0
This package is not auto-updated.
Last update: 2024-11-09 17:50:56 UTC
README
A sample project for creating applications based on RadPHP framework.
Installation
With Vagrant and Docker (Recommended):
- First make sure you have Vagrant and Docker
- Execute
git clone git@github.com:radphp/radphp-demo.git [app-name]
- Change directory to
[app-name]
- Make sure you don't have web server running (If you need help!)
- Just run
vagrant up
- Go to you container with
vagrant ssh
- Change directory to you virtual gost root directory with
cd /srv/www
- Execute
composer update
- Then open http://127.0.0.1/ in your browser
With your own installation of web server and PHP:
- First make sure you have Composer
- Run
composer create-project -s dev --prefer-dist radphp/radphp-demo [app_name]
- Put
[app_name]
directory somewhere in your web root directory - Create a virtual host config file in your web server and point it's root directory to
web
directory of[app_name]
- Add your defined SERVERNAME in front of 127.0.0.1 line in your /etc/hosts
- Then open http://SERVERNAME/ in your browser