Skip to content

jimfreeman/onapp-vcd-signup

Repository files navigation

Signup form for OnApp with vCloud Director

This is a simple Laravel app using a Bootstrap UI to allow users to signup to OnApp. This will create an Organization in OnApp and vCloud Director with your chosen Company Name and Buckets and then create a user inside of this Organization.

You will then be able to login to OnApp with the credentials supplied and deploy your resources from Orchestration Models or each component (eg, Resource Pool, Org Network, etc) seperately.

Requirements

  • Web Server (Tested with Nginx)
  • PHP 7.2+
  • Composer

Installation

  1. Clone the repository to your web directory
git clone https://github.com/jimfreeman/onapp-vcd-signup.git
  1. Go to the directory and run:
composer install
  1. Create the .env file:
cp .env.example .env
  1. Generate application key:
php artisan key:generate
  1. Ensure your files have the correct permissions and owner:
chown -R www-data:www-data /var/www/html/onapp-vcd-signup/
chmod -R 755 /var/www/html/onapp-vcd-signup/
  1. Ensure your webroot (in your web server configuration file) is set to project_directory/public
  2. Open the config/onapp_signup.php file and enter the details about your own environment:
<?php

return [
    'onapp_protocol' => 'https', // select either http or https
    'onapp_url' => 'xxx', // the url of your onapp instance. eg. cp.onapp.test
    'onapp_username' => 'xxx', // username of an OnApp user with administrator permissions
    'onapp_password' => 'xxx', // the password for the above user
    'onapp_compute_resource_id' => 0, // the compute resource ID of your vCloud Director instance
    'onapp_bucket_id' => 0, // the bucket ID you want to use for newly created accounts
    'onapp_role_id' => 0, // the role ID of the role you want new users to be created as. Recommended: 'vCloud Organization Administrator'
];
  1. Restart your web server and access your IP/FQDN via a web browser.

Signup Form

Issues

Let me know: [email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published