mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Cgrates installation docs update
This commit is contained in:
committed by
Dan Christian Bogos
parent
b7a477bb45
commit
06caf9c193
@@ -16,11 +16,8 @@ On the server you want to install CGRateS, simply execute the following commands
|
||||
|
||||
::
|
||||
|
||||
cd /etc/apt/sources.list.d/
|
||||
wget -O - http://apt.itsyscom.com/conf/cgrates.gpg.key|apt-key add -
|
||||
wget http://apt.itsyscom.com/conf/cgrates.apt.list
|
||||
apt-get update
|
||||
apt-get install cgrates
|
||||
wget http://www.cgrates.org/tmp_pkg/cgrates_0.9.1~rc8_amd64.deb
|
||||
dpkg -i cgrates_0.9.1~rc8_amd64.deb
|
||||
|
||||
Once the installation is completed, one should perform the :ref:`post-install` section in order to have the CGRateS properly set and ready to run.
|
||||
After *post-install* actions are performed, CGRateS will be configured in **/etc/cgrates/cgrates.json** and enabled in **/etc/default/cgrates**.
|
||||
@@ -107,8 +104,17 @@ Once MongoDB is installed, CGRateS database needs to be set-up out of provided s
|
||||
.. _PostgreSQL: http://www.postgresql.org
|
||||
.. _MongoDB: http://www.mongodb.org
|
||||
|
||||
3.3.2 Set versions data
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Once database setup is completed, we need to write the versions data. To do this, run migrator tool with the parameters specific to your database.
|
||||
|
||||
3.3.2.Git
|
||||
Sample usage for MySQL:
|
||||
::
|
||||
|
||||
cgr-migrator -stordb_passwd="CGRateS.org" -migrate="*set_versions"
|
||||
|
||||
|
||||
3.3.3.Git
|
||||
~~~~~~~~~
|
||||
|
||||
The **historys** (History Service) component will use `Git`_ to archive *tariff plan changes* in a local repository,
|
||||
|
||||
Reference in New Issue
Block a user