All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cc.protea.platform.example.Main Maven / Gradle / Ivy

Go to download

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

There is a newer version: 0.5.11
Show newest version
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();
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy