Skip to content

Commit 34fc8ff

Browse files
committed
First commit to add the module files and readme.md
1 parent 998bd3d commit 34fc8ff

File tree

282 files changed

+116465
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

282 files changed

+116465
-0
lines changed

README.md

Lines changed: 87 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,87 @@
1+
# UpCloud WHMCS module
2+
3+
This is a module for adding UpCloud integration onto WHMCS web hosting platform.
4+
5+
## Table of content
6+
* [Installation](#installation)
7+
* [Usage](#usage)
8+
* [Documentation](#documentation)
9+
* [Issues](#issues)
10+
* [License](#license)
11+
12+
## Installation
13+
14+
Download the contents of the modules folder into your WHMCS web directory, for example:
15+
16+
```
17+
git clone git@github.com:UpCloudLtd/upcloud-whmcs-module.git ~/
18+
```
19+
20+
```
21+
sudo cp ~/upcloud-whmcs-module/modules/servers/upCloudVm /var/www/html/whmcs/modules/servers/
22+
```
23+
24+
Then update the permissions to allow the web server user to make changes.
25+
26+
```
27+
sudo chown apache:apache -R /var/www/html/whmcs/modules/servers/upCloudVm/
28+
```
29+
30+
Finally, reload your web server.
31+
32+
```
33+
sudo systemctl reload httpd
34+
```
35+
36+
All set! UpCloud can now be found as an infrastructure provider on your WHMCS admin panel. But before you can begin setting up cloud plans, you'll need to configure API access to your UpCloud account if you haven't already done so.
37+
38+
## Usage
39+
40+
You should have a working installation of WHMCS together with the UpCloud module to start configuring your services.
41+
42+
To begin, log into your WHMCS Admin Area and find the following section from the navigation bar.
43+
44+
Setup → Products/Services → Servers
45+
46+
First, create a new server configuration that will act as the API control.
47+
48+
In the new server configuration, select UpCloud VM as the server type. Enter necessary API credentials in the following fields for Username and Password. Then test the connection to confirm the details are correct and click the button to Save Changes.
49+
50+
Next, create a new group for the server and assign it to that group.
51+
52+
Continue by navigate to the Products and Services menu.
53+
54+
Setup → Products/Services → Products/Services
55+
56+
Create a new group for your products.
57+
58+
Then, create a new product.
59+
60+
Select the previously created group from the dropdown menu and name your new product.
61+
62+
Next, move to the product Module Settings section and select the module called UpCloud VM as well as the previously created server group.
63+
64+
Then in the product main configuration section, you need to make the following choices:
65+
• Select the Default Location cloud server of this product are deployed to.
66+
• Choose Plan setting the server resources allocated to this product.
67+
• Pick the Template to define the operating system the product will use.
68+
69+
Lastly, decide whether the product requires manual approval from admins or is automatically deployed upon order. Then confirm your selections by clicking the Save Changes button.
70+
71+
Additionally, you may also generate the default Configurable Options and Custom Fields. that can enable you to add extra features such as SSH keys and initialization scripts.
72+
73+
Simply click the corresponding texts in the Module Settings.
74+
75+
With that done, you have your first product now available in your client area.
76+
77+
## Documentation
78+
79+
The above usage instructions are a quick list of step for configuring services and products on WHMCS for UpCloud. You can find more extensible documentation on how to install WHMCS and the UpCloud module at our [community tutorials](https://upcloud.com/community/tutorials/get-started-whmcs/).
80+
81+
## Issues
82+
83+
What to do if you spot a bug? [Open a new issue here](https://github.com/UpCloudLtd/upcloud-whmcs-module/issues/new).
84+
85+
## License
86+
87+
This project is distributed under the [MIT License](https://opensource.org/licenses/MIT), see LICENSE.txt for more information.

0 commit comments

Comments
 (0)