Skip to content

Application Installation

sunrise-php edited this page Jan 7, 2019 · 1 revision

If you have not installed composer, install it

Go to the directory with your projects:

Project directories are different for everyone. For example, I have locally this /usr/local/var/www/<company>/<project>, and on remote servers this is /var/www/<project>

cd /var/www

Application installation process:

<project-name> this is the directory name where the application will be installed

composer create-project sunrise/awesome-skeleton <project-name>

Go to the directory with the application:

cd <project-name>

Application run process:

php -S 0.0.0.0:8080 public/index.php

Make sure everything worked out:

curl -X GET http://0.0.0.0:8080/