cc.protea.platform.example.Main Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of platform Show documentation
Show all versions of platform Show documentation
A standard set of utilities that makes it easy to build systems that need users, billing, etc giving the usefulness of a PaaS with the control of a local application
package cc.protea.platform.example;
import cc.protea.platform.ProfoundConfiguration;
import cc.protea.platform.ProfoundServer;
public class Main {
public static void main(final String[] args) throws Exception {
ProfoundConfiguration.systemEmails.defaultTemplate = "platform-email";
ProfoundConfiguration.servicePackages.add("cc.protea.foundation.template.services");
ProfoundConfiguration.createSocialAccounts = true;
ProfoundConfiguration.storage.roles = ProfoundConfiguration.Storage.Service.REDIS;
ProfoundConfiguration.storage.sessions = ProfoundConfiguration.Storage.Service.REDIS;
ProfoundServer.start();
}
}