Docs/guide/getting-started.md

36 lines
784 B
Markdown
Raw Normal View History

2023-06-13 19:51:15 +00:00
## Prerequisites
To run the LonaDB server, make sure you have the following software installed:
- Node.js (version 12 or above)
- npm (Node Package Manager)
## Installation
To install the LonaDB server, follow these steps:
1. Clone the repository to your local machine:
```bash
2023-07-06 20:17:07 +00:00
git clone https://github.com/LonaDB/Hadro.git
2023-06-13 19:51:15 +00:00
```
2. Navigate to the project directory:
```bash
2023-07-06 20:17:07 +00:00
cd Hadro
2023-06-13 19:51:15 +00:00
```
2023-07-06 20:17:07 +00:00
3. Install the dependencies and start the server:
2023-06-13 19:51:15 +00:00
```bash
npm install
2023-07-06 20:17:07 +00:00
node hadro
2023-06-13 19:51:15 +00:00
```
2023-07-06 20:17:07 +00:00
If you don't have a configuration file, a users file or any tables, the setup script will run you through initial setup and create everything needed for the database to run.
4. Use your database:
Thats it!
You now have your own instance of LonaDB's server, Hadro!