A sample project for creating applications based on RadPHP framework.
- First make sure you have Vagrant and Docker
- Execute
git clone [email protected]: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
- 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