Skip to content

Getting Started (without Vagrant)

DanShu93 edited this page Feb 9, 2016 · 1 revision

This pages describes all necessary information and steps about Minventar to be able to start/continue developing as well as necessary information for deploying on testing and live systems.

Installing Minventar

Requirements

  1. PHP 5.5 or higher
  2. MongoDB 2.6 or a newer release of MongoDB 2.x
  3. MongoDB extension for PHP
  4. Git
  5. Composer
  6. npm

Configuration for dev system

  1. Checkout Minventar from the git repository

    git clone https://<your_user_name>@bitbucket.org/fashion4home/tool_minventar.git

  2. Navigate into the Minventar directory and install the PHP dependencies using composer and the JavaScript dependencies using npm

composer install

cd web

npm install

  1. Configure the credentials for the MongoDB in '<path_to_minventar>/app/config/config.yml' under parameters.mongo_connection_string

  2. Start the internal webserver of Symfony

    php app/console server:run

  3. The Minventar now runs and you can check it out under http://localhost:8000/app_dev.php/minventar

Configuration for live system

  1. Perform steps 1 to 3 of the configuration for dev system
  2. Find a web server where Minventar should run on
  3. Configure the web root directory of the server to '<path_to_minventar>/web'
  4. Start the server
  5. Minventar should now be accessible under '<web_server_domain>/minventar'