This commit is contained in:
@@ -19,6 +19,8 @@ Run the appropriate for build type being tested standard upgrade script (except
|
||||
|
||||
#### PERPETUAL BUILD
|
||||
|
||||
##### Next staging build
|
||||
|
||||
```bash
|
||||
cd /var/ayanova && \
|
||||
sudo systemctl stop ayanova.service && \
|
||||
@@ -30,8 +32,23 @@ sudo unzip -o ayanova-linux-x64-server.zip -x "config.json" && \
|
||||
sudo systemctl start ayanova.service
|
||||
```
|
||||
|
||||
##### public release build
|
||||
|
||||
```bash
|
||||
cd /var/ayanova && \
|
||||
sudo systemctl stop ayanova.service && \
|
||||
sudo curl -O https://www.ayanova.com/download/ayanova-linux-x64-server.zip && \
|
||||
sudo rm *.dll && \
|
||||
sudo rm -r ./resource && \
|
||||
sudo rm -r ./wwwroot && \
|
||||
sudo unzip -o ayanova-linux-x64-server.zip -x "config.json" && \
|
||||
sudo systemctl start ayanova.service
|
||||
```
|
||||
|
||||
#### SUBSCRIPTION BUILD
|
||||
|
||||
##### Next staging build
|
||||
|
||||
```bash
|
||||
cd /var/ayanova && \
|
||||
sudo systemctl stop ayanova.service && \
|
||||
@@ -43,6 +60,19 @@ sudo unzip -o ayanova-subscription-linux-x64-server.zip -x "config.json" && \
|
||||
sudo systemctl start ayanova.service
|
||||
```
|
||||
|
||||
##### public release build
|
||||
|
||||
```bash
|
||||
cd /var/ayanova && \
|
||||
sudo systemctl stop ayanova.service && \
|
||||
sudo curl -O https://www.ayanova.com/download/ayanova-subscription-linux-x64-server.zip && \
|
||||
sudo rm *.dll && \
|
||||
sudo rm -r ./resource && \
|
||||
sudo rm -r ./wwwroot && \
|
||||
sudo unzip -o ayanova-subscription-linux-x64-server.zip -x "config.json" && \
|
||||
sudo systemctl start ayanova.service
|
||||
```
|
||||
|
||||
### Test install to windows server
|
||||
|
||||
Run installer on Windows test server.
|
||||
|
||||
@@ -32,6 +32,7 @@ namespace rockfishCore.Util
|
||||
//SUBSCRIPTION
|
||||
private const string ACTIVE_INTERNAL_USERS_FEATURE_NAME = "ActiveInternalUsers";
|
||||
private const string ACTIVE_CUSTOMER_USERS_FEATURE_NAME = "ActiveCustomerUsers";
|
||||
private const string MAXIMUM_DATA_GB_FEATURE_NAME = "MaximumDataGB";
|
||||
|
||||
|
||||
//Add-on's / integrations
|
||||
@@ -238,6 +239,7 @@ namespace rockfishCore.Util
|
||||
//5k inside staff users will cover huge seeding level easily
|
||||
k.Features.Add(new LicenseFeature() { Feature = ACTIVE_INTERNAL_USERS_FEATURE_NAME, Count = 5000 });
|
||||
k.Features.Add(new LicenseFeature() { Feature = ACTIVE_CUSTOMER_USERS_FEATURE_NAME, Count = 20000 });
|
||||
k.Features.Add(new LicenseFeature() { Feature = MAXIMUM_DATA_GB_FEATURE_NAME, Count = 20 });
|
||||
}
|
||||
return GenerateRavenKey(k);
|
||||
}
|
||||
@@ -268,6 +270,7 @@ namespace rockfishCore.Util
|
||||
//5k inside staff users will cover huge seeding level easily
|
||||
k.Features.Add(new LicenseFeature() { Feature = ACTIVE_INTERNAL_USERS_FEATURE_NAME, Count = 5000 });
|
||||
k.Features.Add(new LicenseFeature() { Feature = ACTIVE_CUSTOMER_USERS_FEATURE_NAME, Count = 20000 });
|
||||
k.Features.Add(new LicenseFeature() { Feature = MAXIMUM_DATA_GB_FEATURE_NAME, Count = 20 });
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -94,6 +94,11 @@ app.ravLicense = (function () {
|
||||
Feature: "ActiveCustomerUsers",
|
||||
Count: Number($("#subcustcount").val())
|
||||
});
|
||||
|
||||
features.push({
|
||||
Feature: "MaximumDataGB",
|
||||
Count: Number($("#submaxdatagb").val())
|
||||
});
|
||||
}
|
||||
|
||||
let options = $("#options").val();
|
||||
@@ -140,6 +145,8 @@ app.ravLicense = (function () {
|
||||
$("#perpetusercountblock").toggleClass("d-none");
|
||||
$("#subusercountblock").toggleClass("d-none");
|
||||
$("#subcustcountblock").toggleClass("d-none");
|
||||
$("#submaxdatagbblock").toggleClass("d-none");
|
||||
|
||||
|
||||
const isPerpetual = $("#perpetual").prop("checked");
|
||||
$("#licenseExpires").prop("checked", !isPerpetual);
|
||||
|
||||
@@ -124,7 +124,7 @@
|
||||
|
||||
<div id="subcustcountblock" class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label for="registeredTo">Customer users</label>
|
||||
<label for="subcustcount">Customer users</label>
|
||||
<input
|
||||
class="form-control"
|
||||
type="number"
|
||||
@@ -135,6 +135,19 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="submaxdatagbblock" class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label for="submaxdatagb">Max data Gigabytes</label>
|
||||
<input
|
||||
class="form-control"
|
||||
type="number"
|
||||
id="submaxdatagb"
|
||||
name="submaxdatagb"
|
||||
value="20"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-sm-6">
|
||||
<div class="form-group">
|
||||
<label for="options">Additional features</label>
|
||||
@@ -145,8 +158,8 @@
|
||||
multiple
|
||||
>
|
||||
<option value="TrialMode">TrialMode</option>
|
||||
{{!-- <option value="future1">future1</option>
|
||||
<option value="future2">future2</option> --}}
|
||||
{{! <option value="future1">future1</option>
|
||||
<option value="future2">future2</option> }}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user