This is a server of Cloudsumé, written in C# for .NET 6.
- .NET 6 SDK
If the target machine has .NET runtime installed, run:
dotnet publish -c Release -o dist src/Cloudsume
Otherwise run:
dotnet publish -c Release -o dist -r RID src/Cloudsume
Replace RID
with the target platform. You can find a list of the available platforms here. dist
directory will contains the output binary once the build is finished.
Cloudsumé Server depend on the following services:
- OIDC Provider.
- Apache Cassandra.
- Cloudsumé Services
The issuer claim must not be cloudsume
and the following claims must be present:
sub
: A UUID representing the unique identifier of the user.http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier
: Same as the above.name
: A username of the user.email
: An email address of the user.email_verified
: A boolean indicated if the email has been verified.
You need to enable materialized view in the Cassandra configuration.
See its repository for the instructions.
- Edit
src/Ultima.Extensions.Globalization/RegionNames.cs
. - Add new file to
src/Ultima.Extensions.Globalization/Subdivisions
. - Edit
src/Ultima.Extensions.Globalization/SubdivisionNames.cs
.
- Update
Application.AllowedTemplateCultures
insrc/Cloudsume/appsettings.*.json
.
- Add a domain model to
src/Cloudsume.Resume/Data
. - Add a data merger to
src/Cloudsume.Resume/Mergers
and register it to IoC container. - Add an attribute factory for NetTemplate to
src/Cloudsume.Builder/AttributeFactories
and register it to IoC container. - Add a database model to
src/Cloudsume.Cassandra/Models
. Don't forget to register its mapping and create a migration script. - Add a database mapper to
src/Cloudsume.Cassandra/ResumeDataMappers
and register it to IoC container. - Add a payload manager to
src/Cloudsume.Cassandra/ResumeDataPayloadManagers
if there is one and register it to IoC container. - Add a sample data model to
src/Cloudsume.Cassandra/Models
with a migration script and register its mapping. Do not forget to seed the sample data in the migration script. - Add a sample payload manager to
src/Cloudsume.Cassandra/SampleDataPayloadManagers
if there is one and register it to IoC container. - Add a censor to
src/Cloudsume.Resume/LinkDataCensor.cs
. - Add a DTO model to
src/Cloudsume/Models
. - Add a manager for DTO model to
src/Cloudsume/DataManagers
and register it to IoC container.
- Update
RequestLocalizationOptions
insrc/Cloudsume/Startup.cs
. - Update
ListAsync
insrc/Cloudsume/Controllers/ResumesController.cs
.
GNU AGPLv3