This is demo project for students
-
Open your terminal window.
-
Check if you have installed
composer
:$ composer -V
You should see something like this:
$ Composer version 1.4.1 2017-03-10 09:29:45
-
Check PHP7 installation:
$ php -v
You should see something like this:
PHP 7.1.6-1~ubuntu16.04.1+deb.sury.org+1 (cli) (built: Jun 9 2017 08:26:34) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.1.6-1~ubuntu16.04.1+deb.sury.org+1, Copyright (c) 1999-2017, by Zend Technologies with Xdebug v2.5.5, Copyright (c) 2002-2017, by Derick Rethan
-
Clone this repository:
$ git clone git@github.com:svystun/demo-classes.git my_folder $ cd my_folder $ composer update $ php index.php
As result you should see list of numbers without any errors.