$def with(f,user,data, is_git_auth, project) $var user = user $var is_git_auth = is_git_auth $var project= project

Setup your application

$for input in f.inputs:
$ id = input.get_default_id() $if type(input) == Checkbox:
$:input.pre $:input.render() $:input.description
$else:
$:input.description
$:input.pre $if id in data: $:input.set_value(data[id]) $:input.render()

Tips

Personalise the project name and the payoff in the homepage.

The local SPARQL endpoint runs on port 3000. To modify the port, read the documentation. If you deploy $project on a remote server, a public SPARQL REST API and GUI will be available at YOUR-DOMAIN/sparql (come back here to add the full URL).

The URI base is the persistent URI of new entities. You can use external services such as w3id. Be aware that content negotiation is not automatically enabled. See an example on how to enable it with w3id.

You can limit the number of daily contributions per user by setting a limit for requests coming from the same IP address.

Choose the number of records to be shown in the backend and frontend (pagination of results).

Github synchronisation and authentication

$project can be synchronised with a GitHub repository to (1) create a versioned backup of your data and (2) to create a team to collaborate to the catalogue.

For (1) you will need:

Enable Github backup (True), record your GitHub username as COMMITS DEFAULT AUTHOR and the email you used to register on Github as COMMITS DEFAULT AUTHOR EMAIL.

The repository must be either yours or one where you have been accredited as a collaborator with admin privileges. If the repository is yours, use your username as REPOSITORY OWNER, and the name of the repository as REPOSITORY NAME.

Follow the instructions to create a bearer token. When selecting the scopes of the permissions, ensure repo is selected. $project needs it to commit changes on your repository on your behalf. Copy and paste the code in the field GITHUB BEARER TOKEN. Be aware you may need to change this code over time according to the expiry date you choose.

For (2) you will need (in addition):

GitHub authentication is recommended for applications that run online. If you do not enable it, any user will be able to access the backend of your application.

Follow the instructions for creating the OAuth app, and select as Authorization callback URL the following path: YOURDOMAIN/oauth-callback. At the end, come back here and paste the CLIENT ID and SECRET KEY.

Done, time to enjoy.