Nucleus can be used with different hosting environments, database providers and file system providers.
Hosting Environments | Windows, Azure App Service, Linux, Docker |
Databases | Sql Server (including Azure SQL), Sqlite, PostgreSQL, MySql/MariaDb |
File Systems | Local file system, Azure Blob Storage, Amazon S3 |
There are platform-specific install sets for Windows x64, Linux x64 and Linux arm64, as well as a portable install set which can be used on any platform that supports .NET core. The platform-specific install sets are about 60% of the size of the portable sets because they do not include runtimes for all possible platforms.
The first time that you run Nucleus, the Setup Wizard will run.
The first step is to select your database. You can use Microsoft SQL Server (including Azure SQL Database), MySql (including Maria DB), Sqlite or PostgreSQL.
If you are using Azure SQL Database, choose SQL Server. Azure SQL Database is an SQL Server "Managed Instance" running in Azure. If you are using MariaDB, choose MySql. MariaDB is a community-developed, commercially supported fork of MySQL.
If your database administrator has supplied a connection string, or you have a database connection string from a service provider, you can skip past the settings and paste your connection string into the "Connection string" text box.
Different database types have different settings available, and Sqlite doesn't have any settings. When you use SQL Server, MySql or PostgreSQL, you choose whether to use integrated security or user name and password authentication, and Sql Server also has encryption and certificate options. The values that you should choose depend on how your server is configured. If you need to specify settings that are not available in the Setup Wizard, you can manually prepare your own connection string and paste it into the "Connection string" text box.
If the setup wizard doesn't automatically proceed to the next step for any reason, refresh your browser.
Select a template from the list and click Next. The template generates a default set of pages, roles and other settings.
The configuration checks tab runs some configuration checks to ensure that you the correct file access permissions and can connect to the database. Review the results, fix any problems and click Next.
You can configure one or more file systems. This is where your site's content files are stored.
If you configure more than one file system, the file system management controls in Nucleus will display them in a drop-down list, and you can select the file system that you want to work with. You can store different files in differernt file system if you need to.
C:\ProgramData\Nucleus\Content
. In Linux, the default location is /home/nucleus/data/Content
. If you want to change where local files are stored, you will
need to edit your configuration files. Configuration Reference - Folder Options. If
you are going to use Azure Blob Storage or Amazon S3, you can click 'Remove' to remove the local file system provider.Click Next to continue.
The install set includes some common Nucleus extensions. Select the extensions that you want to install and click Next. You can install more extensions later.
Extensions which are used by your selected site template, or by your selected file systems are automatically selected, and cannot be un-selected.
Enter your site settings in the Site tab.
Site Name | The name of your site is displayed in administration pages, is also often used in email templates and for on-screen display. You can change your site name in the site editor later. |
Default Alias (url) | Site aliases are used to identify the correct site when viewing a page. The default alias is used when generating Urls in page output and in system-generated emails. You can add and remove site aliases or change the default alias in the site editor later. |
Home Directory | The home directory is a sub-folder within your configured file system root which is used as the top-level folder. By using a home directory, you can use the same local file system folder, Azure Blob Storage service or Amazon S3 bucket for multiple sites (each with its own unique home folder). If you have configured more than one file system provider, this value is used for all of them. This value is difficult to change later. |
Security Roles | Nucleus has 4 "system" security roles - a role which you can add users to for Administrator users, and special roles to represent registered users, anonymous user and all users. You can change the names of these roles during setup if required. The system role names can't be changed later. |
Click Next to continue.
The last step is to specify the user name and password for your site's "System Administrator" user and "Site Administrator" user.
The System Administrator user can access all site and instance administration functions. The Site Administrator can manage all site settings, but can't install Extensions, and can't manage instance settings, like scheduled tasks, API keys or add additional sites.
The system administrator and site administrator user names do not have default values and you should try to choose user names which are not easy to guess. Avoid user names like "admin", "administrator", "system".
Click Finish to set up your site. Your settings will be saved, and the site will restart.
Once the "Restart Complete" message appears, setup is complete, and you can click the link to navigate to your site.