Welcome! We’ve created this project hoping that will help us nto getting a feeling of how you work. If anything is unclear, please do not hesitate to contact us with questions! (mailto:mauro@vreasy.com)
At Vreasy we work with several technologies. At the web-application level, we currently use PHP (ZF1), AngularJS and a bit of jQuery. We are working into moving our software into SOA approach. So we build thin json APIs and we run most of what the user sees in the client side.
You can find the briefing for this task in The Vreasy Developer’s Quiz document
-
Setup project dependencies:
- php >= 5.4,
- Apache Server >= 2.4
- MySQL >= 5.4
- npm Package manager
- composer Dependency Manager for PHP
-
Clone this branch of the project
git clone -b task-confirmation https://github.com/Vreasy/VrRecruit.git -
Install composer and projects dependencies
composer install --dev --no-interaction --prefer-dist -
Create the database and setup the db user permissions (See the db.ini). 4. DB User:
vreasy4. DB Password:;FeA336101-vreasy_task_confirmation4. Development dbvreasy_task_confirmation4. DB User:ubuntu4. DB Password: `````` which means an empty or no password 4. Test dbvreasy_task_confirmation_test -
Run ruckusing migrations to setup the db structure
php vendor/ruckusing/ruckusing-migrations/ruckus.php db:migrate ENV=development php vendor/ruckusing/ruckusing-migrations/ruckus.php db:migrate ENV=test -
Install npm and client side dependencies
npm install node_modules/bower/bin/bower install -
Check the test suite is working for you:
php vendor/codeception/codeception/codecept build php vendor/codeception/codeception/codecept run --debugIt should output something like
OK (2 tests, 4 assertions) -
Add a VirtualHost
<VirtualHost *:80> DocumentRoot "/projects/vrRecruit/vreasy/public" SetEnv APPLICATION_ENV "development" ServerName vreasydev.com <Directory "/projects/vrRecruit/vreasy/public"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order allow,deny Allow from all </Directory> </VirtualHost> -
Your Pull Request should trigger an automatic build in circleci. You might have to create an account there too, to trigger these builds on your fork of the project.
Do you have any questions? Ask Mauro (mailto:mauro@vreasy.com)
We follow PSR-1 and PSR-2 from PHP-FIG and we do follow Rest-full principles
