Skip to content

alexandredamiron/VrRecruit

 
 

Repository files navigation

Vreasy Task's confirmation

Introduction

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

Getting started

  1. Setup project dependencies:

    1. php >= 5.4,
    2. Apache Server >= 2.4
    3. MySQL >= 5.4
    4. npm Package manager
    5. composer Dependency Manager for PHP
  2. Clone this branch of the project

    git clone -b task-confirmation https://github.com/Vreasy/VrRecruit.git
    
  3. Install composer and projects dependencies

    composer install --dev --no-interaction --prefer-dist
    
  4. Create the database and setup the db user permissions (See the db.ini). 4. DB User: vreasy 4. DB Password: ;FeA336101-vreasy_task_confirmation 4. Development db vreasy_task_confirmation 4. DB User: ubuntu 4. DB Password: `````` which means an empty or no password 4. Test db vreasy_task_confirmation_test

  5. 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
    
  6. Install npm and client side dependencies

    npm install
    node_modules/bower/bin/bower install
    
  7. Check the test suite is working for you:

    php vendor/codeception/codeception/codecept build
    php vendor/codeception/codeception/codecept run --debug
    

    It should output something like OK (2 tests, 4 assertions)

    Circle CI

  8. 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>
    
  9. 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.

Help

Do you have any questions? Ask Mauro (mailto:mauro@vreasy.com)

Conventions

We follow PSR-1 and PSR-2 from PHP-FIG and we do follow Rest-full principles

About

Where Vreasy's recruitment puts its stuff

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PHP 55.2%
  • CSS 42.7%
  • HTML 1.3%
  • Other 0.8%