2021-08-21 21:30:02 +03:00
|
|
|
<!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>
|
2021-10-22 19:08:50 +03:00
|
|
|
<li>Edit the config.js file inside the src folder and change the parameters to match where your server is hosted</li>
|
2021-08-21 21:30:02 +03:00
|
|
|
<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>
|