MonarcAppFO/vagrant
Ruslan Baidan 73357c3551
Updated the dependencies to use Zf3 components, fixed the FO and Core loading paths and updated the configuration.
2019-09-04 20:40:41 +02:00
..
README.rst Added new instructions for an installation on Ubuntu Bionic (18.04) 2018-10-02 10:14:48 +02:00
Vagrantfile enabling xdebug with the Vagrant env 2019-08-23 08:41:26 +02:00
bootstrap.sh Updated the dependencies to use Zf3 components, fixed the FO and Core loading paths and updated the configuration. 2019-09-04 20:40:41 +02:00

README.rst

Development environment for MONARC
==================================

Vagrant is convenient to use in order to setup your development environment.

This VM uses `synced folders <https://www.vagrantup.com/docs/synced-folders/>`_
feature of Vagrant in order to let you work on the MONARC source code on your
host machine while the softwares (Apache, PHP, MariaDB, etc.) and libraries
will be installed on the guest Vagrant machine.


Installation of VirtualBox and Vagrant
--------------------------------------

.. code-block:: bash

    $ sudo apt-get install virtualbox vagrant


Deployment of the front office
------------------------------

MONARC will be automatically deployed in an Ubuntu Bionic Server.

.. code-block:: bash

    $ git clone https://github.com/monarc-project/MonarcAppFO
    $ cd MonarcAppFO/vagrant
    $ export GITHUB_AUTH_TOKEN=<your-github-auth-token>
    $ vagrant up

Once the VM will be configured by Vagrant, go to the address
http://127.0.0.1:5001.

The username is *admin@admin.test* and the password is *admin*.

You can now edit the source code with your favorite editor and test it in your
browser. The only thing is to not forget to restart Apache in the VM after a
modification.