Adding back scripts in /docs

This commit is contained in:
Zachary Klosko 2020-05-19 10:16:31 -04:00
parent bcf938ca7e
commit 6540a34a9b
26 changed files with 336 additions and 94 deletions

View file

@ -2,18 +2,18 @@
?>
<form action="#" role="form" id="finishSettingsForm">
<h3 class="form-title">Manual Step: Start Airtime Services</h3>
<h3 class="form-title">Manual Step: Start Libretime Services</h3>
<span id="helpBlock" class="help-block help-message"></span>
<p>
Looks like you're almost done! As a final step, please run the following commands from the terminal:
</p>
<pre style="text-align: left">sudo service airtime-playout start
sudo service airtime-liquidsoap start
sudo service airtime_analyzer start
sudo service airtime-celery start</pre>
<pre style="text-align: left">sudo systemctl start libretime-playout
sudo systemctl start libretime-liquidsoap
sudo systemctl start libretime-analyzer
sudo systemctl start libretime-celery</pre>
<p>
Click "Done!" to bring up the Airtime configuration checklist; if your configuration is all green,
you're ready to get started with your personal Airtime station!
Click "Done!" to bring up the Libretime configuration checklist; if your configuration is all green,
you're ready to get started with your personal Libretime station!
</p>
<p>
If you need to re-run the web installer, just remove <code>/etc/airtime/airtime.conf</code>.
@ -28,4 +28,4 @@ sudo service airtime-celery start</pre>
e.preventDefault();
window.location.assign("/?config");
});
</script>
</script>

View file

@ -19,6 +19,21 @@
<span class="glyphicon glyphicon-remove form-control-feedback"></span>
</div>
<input class="form-control" type="hidden" name="generalErr" id="generalErr" aria-describedby="helpBlock"/>
<p>The CORS URL can be setup during install if you are accessing your LibreTime instance behind a Proxy.
This is common with docker setups. If you have a reverse proxy setup enter the URL below, otherwise you
can safely ignore this. Please enter one URL per line. Include the entire URL such as http://example.com
If you are reinstalling LibreTime on an existing setup you can ignore this as well,
the settings in your existing database will be retained unless you enter new values below.
</p>
<div id="corsSlideToggle">
<span><strong>CORS URL </strong></span><span id="corsCaret" class="caret"></span><hr/>
</div>
<div id="corsFormBody">
<div class="form-group">
<label class="control-label" for="corsUrl">CORS URLs</label>
<textarea name="corsUrl" class="form-control" id="corsUrl" rows="4" cols="50"></textarea>
</div>
</div>
</div>
<div>
<input type="submit" formtarget="generalSettingsForm" class="btn btn-primary btn-next" value="Next &#10097;"/>
@ -27,6 +42,10 @@
</form>
<script>
$("#corsSlideToggle").click(function() {
$("#corsFormBody").slideToggle(500);
$("#corsCaret").toggleClass("caret-up");
});
$("#generalSettingsForm").submit(function(e) {
submitForm(e, "GeneralSetup");
});

View file

@ -16,7 +16,9 @@
<p>
In either case, we recommend that you change at least the default password provided -
you can do this by running the following line from the command line:<br/>
<code>sudo rabbitmqctl change_password &lt;username&gt; &lt;newpassword&gt;</code>
<code>sudo rabbitmqctl change_password &lt;username&gt; &lt;newpassword&gt;</code><br/>
<strong>Notice:</strong> using special characters such as ! in your rabbitmq password will cause LibreTime to fail
to load properly after setup. Please use alphanumerical characters only.
</p>
<div id="rmqSlideToggle">
<span><strong>Advanced </strong></span><span id="advCaret" class="caret"></span><hr/>

View file

@ -45,7 +45,7 @@ function checkDatabaseDependencies() {
/**
* Check that all external services are configured correctly and return an associative
* array with the results
*
*
* @return array associative array of external service check results
*/
function checkExternalServices() {
@ -88,7 +88,7 @@ function configureDatabase() {
/**
* Check that we can connect to RabbitMQ
*
*
* @return true if the RabbitMQ connection can be established
*/
function checkRMQConnection() {
@ -109,7 +109,7 @@ function checkRMQConnection() {
/**
* Check if airtime-analyzer is currently running
*
*
* @return boolean true if airtime-analyzer is running
*/
function checkAnalyzerService() {
@ -122,7 +122,7 @@ function checkAnalyzerService() {
/**
* Check if airtime-playout is currently running
*
*
* @return boolean true if airtime-playout is running
*/
function checkPlayoutService() {
@ -135,7 +135,7 @@ function checkPlayoutService() {
/**
* Check if airtime-liquidsoap is currently running
*
*
* @return boolean true if airtime-liquidsoap is running
*/
function checkLiquidsoapService() {
@ -148,7 +148,7 @@ function checkLiquidsoapService() {
/**
* Check if airtime-celery is currently running
*
*
* @return boolean true if airtime-celery is running
*/
function checkCeleryService() {

View file

@ -13,7 +13,7 @@
<body>
<div class="header">
<h3 class="logo">
<img src="css/images/airtime_logo_jp.png" id="airtimeLogo" /><br/>
<img src="css/images/libretime_logo_jp.png" id="LibreTimeLogo" /><br/>
<strong>Setup</strong>
</h3>
<strong>Step <span id="stepCount">1</span> of 5</strong>