Volt for appstudio

From NSB App Studio
Revision as of 21:49, 26 May 2017 by Sarah (talk | contribs) (Information and instructions for AppStudio users for using Volt)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Introduction

Volt is a cloud service which provides additional functionality for AppStudio. It's designed as a platform, so new features can be added.

Volt replaces the AppStudio Server, and does much more! Initial features include:

  • App Hosting: Upload your apps to Volt and they can be accessed by users anywhere in the world. Permanent hosting is available.
  • Custom Domains: Use custom domains you own for your apps, or use domains assigned by Volt.
  • App Management: Display and configure your apps on the Volt server using your Dashboard.
  • User Management: Allow your users to sign into your app with usernames and passwords.

AppStudio Demo Users

If you're using the AppStudio Demo, you don't need to create an account to use Volt. When you deploy, your app will be placed on the Volt server, and you will be given a link to access it. It will remain on the server for an hour.

Once you sign up for AppStudio, you can create a Volt account and use all the Volt services.

AppStudio Registered Users

If you are a licensed AppStudio user, Volt replaces the AppStudio Server you previously used. Deploy works the same way. We encourage you to get your free Volt account because it will help you manage your apps.

If you do not want to use any of the additional features (such as Users, Email, etc.) don't worry about them. There is no need to know more at this point.

Managing Your Own Account

If you don't have an account, you will still be able to deploy apps. They will be available for about an hour. If you want to apps to remain longer or use Volt features, you will need to sign up.

To sign up, go into the Volt tab in AppStudio Preferences and click on "Sign up for Volt". Follow the instructions and a free Volt account will be set up for you. Once this is done, enter the email and password for your account into AppStudio's Volt Preferences tab.

Using Volt from AppStudio

There are several places which AppStudio interacts with Volt.

The Run Menu

  • Deploy to Volt: This uploads your app to the Volt server. If you have an account, it should be entered into Preferences. If you do not, the app will only remain on the server for an hour.
  • Manage your Volt App: This opens the Volt Dashboard to your currently loaded app and lets you customize its features.
  • Sign In/Sign Up to Volt: This opens the Volt Dashboard and lets you sign in to manage your apps. If you do not have an account, you can sign up for one here.

Volt Preferences

In Preferences. Use this panel to enter your Volt email and password. This will let AppStudio sign you on directly when you deploy.

The Dashboard - Your Apps

The Dashboard is an app for managing your Volt apps. You can get to it by going to https://dashboard.voltcloud.io/. Here's the main screen:

  • Open will run the App
  • Clicking on one of the items will open the App Details

The Dashboard - App Information

  • On that same page, there are actions you can perform on your app:

  • Delete removes your app from Volt.
  • Users let your view and remove users of that app.

The Dashboard - Users

Managing your App's User Accounts

Volt lets you manage a list of users who are allowed to access your app. It handles signing up, signing in, signing out and all the other functions which are needed (email confirmations, forgot passwords, etc...).

When you sign up for a Volt account, you're using the same mechanism. You will find samples in BASIC and JavaScript in the AppStudio Samples, in a new folder called Volt. You're welcome to adapt these samples into your own apps.

Email

Coming soon.

Samples

Samples for using Volt features in AppStudio are included with the normal AppStudio samples, under "4 Volt Services". To use these samples, deploy them to Volt. They will not work in your local browser.