-
Notifications
You must be signed in to change notification settings - Fork 34
QUICKSTART
Daniel Spors edited this page Nov 5, 2020
·
1 revision
To get your website up and running there are few steps to be done:
First make sure you have php
and git
installed.
Then get your copy of the scavix-wdf by cloning the repository
git clone https://github.com/ScavixSoftware/scavix-wdf.git
Start by letting WDF create an application stub for you
mkdir app
php scavix-wdf/cli.php create-app name=MyFirstApp root=app
This will create some folders and files inside the app
folder.
Now you may try it out using the PHP embedded webserver
php -S localhost:8080 -t app/docroot
Just open your browser and point it to http://localhost:8080 and you will see a basic success page.
Of course you may want to setup a real webserver, we recommend apache2 for this.
If so make sure the docroot points to the folder app/docroot
and it will work out of the box.