# apxtrib setup

This page is for setup process to check that your config is ready to join a nation.

You can access this page by:
http://localhost/setup.html if you are able to open a browser in your server (for dev purpose)
http://dns/setup.html if you set your /etc/hosts by adding a line: xxx.xxx.xxx.xxx dns
where xxx... is the IP of your serseur and dns your domaine name

Affiche:

- sudoeruser:
- nationName to join: default ants
- townName to create: have to be unique in a nation
- dns to access to your town: unchain (for dev) a working dns
- apiport: 3018 if available
- Language available: ["en","fr"] en is the minimum and the default
- jwtsecret: in prod (dns != unchain) change the first time and keep it for you

To do in static/script.js: => Send a request to get http://mydnsapxtrib/api/nations/ Authenticate as a Pagan with public Key