apxtrib/nationchains/www/socialworld/setup.html

32 lines
1.2 KiB
HTML

<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>apxtrib setup</title>
<link rel="stylesheet" href="static/style.css">
<script src="static/script.js"></script>
</head>
<body>
<p> This page is for setup process to check that your config is ready to join a nation.</p>
<p> You can access this page by:<br>
http://localhost/setup.html if you are able to open a browser in your server (for dev purpose)<br>
http://dns/setup.html if you set your /etc/hosts by adding a line: xxx.xxx.xxx.xxx dns<br>
where xxx... is the IP of your serseur and dns your domaine name <br>
</p>
<p>Affiche: </p>
<ul>
<li>sudoeruser: </li>
<li>nationName to join: default ants</li>
<li>townName to create: have to be unique in a nation</li>
<li>dns to access to your town: unchain (for dev) a working dns</li>
<li>apiport: 3018 if available</li>
<li>Language available: ["en","fr"] en is the minimum and the default</li>
<li>jwtsecret: in prod (dns != unchain) change the first time and keep it for you</li>
</ul>
<p>To do in static/script.js:
=> Send a request to get http://mydnsapxtrib/api/nations/
Authenticate as a Pagan with public Key
</p>
</body>
</html>