Skip to content

athenarc/clima

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
web
 
 
 
 
 
 
 
 
 
 
 
 

Cloud Infrastructure Manager (CLIMA)


Prerequisites

In order to install SCHeMa you need:

  • a PostgreSQL database server
  • an OpenStack cloud infrastructure with a project and application credentials configured.
  • a working SCHeMa installation in a non-standalone mode (for on-demand projects). Users must have the same username as in CLIMA, in order to be able to access their projects.

Required PHP packages

The node running the installation of SCHeMa should have the following PHP packages installed:

  • php-mbstring
  • php-xml
  • php-gd
  • php-pgsql
  • php-yaml

Installing CLIMA

  1. Install the Yii2 framework(tutorial) and install the following plugins:
  1. Download the CLIMA code from GitHub and replace the files inside the Yii project folder.

  2. Create a postgres database named "clima" for user "clima".

  3. Restore the .sql file inside the "database_schema" folder as user "postgres" to the database created in the previous step: sudo -u postgres psql -d clima -f <path_to_database_schema>/db_structure.sql

  4. Inside the project folder edit the following files:

  • config/db.php: add the database credentials.
  • config/params-template.php: rename to config/params.php and fill the information according to the description provided.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published