8000 GitHub - harykeyrun/ralph: Ralph is the CMDB / Asset Management system for data center and back office hardware.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
forked from allegro/ralph

Ralph is the CMDB / Asset Management system for data center and back office hardware.

License

Notifications You must be signed in to change notification settings

harykeyrun/ralph

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ralph

Ralph is full-featured Asset Management, DCIM and CMDB system for data centers and back offices.

Features:

  • keep track of assets purchases and their life cycle
  • flexible flow system for assets life cycle
  • data center and back office support
  • dc visualization built-in

It is an Open Source project provided on Apache v2.0 License.

Gitter packagecloud Build Status Coverage Status Code Health

Live demo:

http://ralph-demo.allegro.tech/

  • login: ralph
  • password: ralph

Screenshots

img

img

img

Documentation

Visit our documentation on readthedocs.org

PART 2 - CMDB INSTALLATION

SETUP

Hari K

Installation on Ubuntu 20.x

  • Use sudo
  • NVM setup and installation
  • Update first using apt update

Download NVM prereq

Pre-req

  • Install additional libraries
    • sudo apt-get install build-essential checkinstall libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev

Python installation

Setup and install MYSQL

  • login as root (sample password sql@2023 OR Admin@123!)
    • CREATE DATABASE ralph_ng DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
    • CREATE USER 'ralph_ng'@'localhost' IDENTIFIED BY 'Ralph_135!';
    • GRANT ALL PRIVILEGES ON ralph_ng.* TO 'ralph_ng'@'localhost';
    • //-- ALTER USER 'ralph'@'%' IDENTIFIED WITH mysql_native_password BY 'Ralph_135!';
    • flush privileges;
    • exit

Clone the code

Code execution

DEV profile setup

  • Go to CMDB repo local folder location after cloning the code. Type the repo name
    • cd ralph/
      
    • pip3.6 install --upgrade pip
      
    • pip3.6 install -r requirements/dev.txt “This may fail”
      

Fix the dependencies

 apt-get install libmysqlclient-dev libsasl2-dev python-dev libldap2-dev libssl-dev
  • Go to requirements
    • Edit the file openstack.txt

    • oslo.utils==3.16.0
      
    • keystoneauth1==2.10.0
      
    • stevedore==1.16.0
      
    • Babel==2.8.0
      
    • Also edit the file base.txt

    • pytz==2015.7
      
    • Markdown==3.2.1
      

Install mysql client

* pip3.6 install mysqlclient==1.3.14

* OR 

* pip3.6 install mysqlclient

More libraries

*     apt-get install gcc
*     apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev

Try now

*     pip3.6 install -r requirements/dev.txt “This time it should work”
*     pip3.6 install -r requirements/docs.txt

One more package

*     apt install python3-devel

NPM installation

*     npm install 
*     npm audit fix

Build node modules (For every change in the static files)

*     ./node_modules/.bin/gulp || ./node_modules/bin/gulp
COPY from template
*     cp src/ralph/settings/local.template src/ralph/settings/local.py
Verify local settings
*     nano src/ralph/settings/local.py

Export Django settings

*     export DJANGO_SETTINGS_MODULE="ralph.settings.local"

Change to root

*     Sudo -i
*     Developer setup
*     python3.6 setup.py develop

Create schema using the code

*     dev_ralph migrate
*     Create super user
*     dev_ralph createsuperuser

Execute current branch

*     make menu
*     make run

Getting help

About

Ralph is the CMDB / Asset Management system for data center and back office hardware.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 90.1%
  • HTML 4.9%
  • SCSS 2.7%
  • JavaScript 1.7%
  • Other 0.6%
0