Skip to content

Legal

Legal pages may be mandatory depending on the jurisdiction, for example at least a privacy policy is usually required. Additionally it makes sense to also have terms of service and an acceptable use policy. This may help to cover you legally, e.g. by including a liability waiver and to prohibit your users from using your services for illegal activity.

The legal texts for Epic Fantasy Forge were generated with GetTerms. For more information about how to use GetTerms to generate legal texts see the Legal Document Generators section on the Technical Documentation page of this guide.

Note that for our app we will generate legal texts separately since they will differ a little bit compared to our website legal texts. On Epic Fantasy Forge, the technical documentation also got its own legal texts.

To generate the legal texts, start by clicking on the "Create new" button on the GetTerms dashboard:

GetTerms 1

Next choose a payment plan. The tier recommended by Epic Fantasy Forge is "Business" as it allows you to customize your cookie consent banner and also includes all legal policies offered by GetTerms:

GetTerms 2

Once you have paid, on your Overview page you can generate legal texts by clicking on the relevant buttons:

GetTerms 3

Generate the following texts for your website:

  • Terms of Service
  • Acceptable Use Policy
  • Privacy Policy
  • Cookie Policy

Tests

E2E Test

Before implementing the legal pages we will create an E2E test in Qase. Add a new test case to the "Web Exclusive" suite named "Legal":

Legal Test 1

Legal Test 2

Integration Tests

There is nothing for us to test at the integration level since the legal pages have no logic or any kind of code.

Unit Tests

There is nothing for us to test at the unit level since the legal pages have no logic or any kind of code.

Production Code

If you have used GetTerms to generate your legal texts, you can copy and paste the HTML versions of your policies from GetTerms into the relevant HTML template files in your Phoenix project, i.e.

To download the HTML version of a legal text in GetTerms, choose the option "HTML" from the "View as" dropdown menu:

GetTerms HTML

You may use GitHub Copilot to help style the HTML you copied and pasted from GetTerms. It should be styled using Tailwind CSS, see the above linked pages as examples.

Warning

If using AI to style your legal texts, make sure the AI doesn't inadvertently change some of the legal text itself.

The reason on Epic Fantasy Forge the GetTerms live policy is not used, instead the raw HTML is manually copied over to the website, is because some edits were made to the legal texts. For example, as Epic Fantasy Forge is not a company, some of the legal texts were adjusted to reflect that.

Warning

If manually editing your legal texts, beware that there is a risk that the legal texts may become invalidated if not reviewed by a lawyer.