24 lines
No EOL
906 B
HTML
24 lines
No EOL
906 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Document</title>
|
|
</head>
|
|
<body>
|
|
<h1>Welcome to the API server!</h1>
|
|
<b>This server is hosting the Brainlet API server. Clients may now use it.</b>
|
|
<hr>
|
|
<h3>Setting up the React frontend:</h3>
|
|
<ol>
|
|
<li>Clone the repository</li>
|
|
<li>Edit the config.js file inside the src folder and change the parameters to match where your server is hosted</li>
|
|
<li>Install the dependencies using `npm i`</li>
|
|
<li>Build the static files with `npm run build`</li>
|
|
<li>Copy the static files from the build folder into the app folder on the server (replacing these files)</li>
|
|
</ol>
|
|
<hr>
|
|
<i>This server is running Brainlet.</i>
|
|
</body>
|
|
</html> |