finish-settings.php 1.1 KB

123456789101112131415161718192021222324252627282930
  1. <?php
  2. ?>
  3. <form action="#" role="form" id="finishSettingsForm">
  4. <h3 class="form-title">Manual Step: Start Airtime Services</h3>
  5. <span id="helpBlock" class="help-block help-message"></span>
  6. <p>
  7. Looks like you're almost done! As a final step, please run the following commands from the terminal:
  8. </p>
  9. <pre style="text-align: left">sudo service airtime-playout start
  10. sudo service airtime-liquidsoap start
  11. sudo service airtime-media-monitor start</pre>
  12. <p>
  13. Click "Done!" to bring up the Airtime configuration checklist; if your configuration is all green,
  14. you're ready to get started with your personal Airtime station!
  15. </p>
  16. <p>
  17. If you need to re-run the web installer, just remove <code>/etc/airtime/airtime.conf</code>.
  18. </p>
  19. <div>
  20. <input type="submit" formtarget="finishSettingsForm" class="btn btn-primary btn-next" value="Done!"/>
  21. </div>
  22. </form>
  23. <script>
  24. $("#finishSettingsForm").submit(function(e) {
  25. e.preventDefault();
  26. window.location.assign("/?config");
  27. });
  28. </script>