dosubot[bot] commented on issue #2667:
URL: 
https://github.com/apache/incubator-hugegraph/issues/2667#issuecomment-2380394779

   <!-- Answer -->
   To run a standalone HugeGraph server locally, you can use the `hugegraph` 
Docker image. Here is the command to start a HugeGraph server with RocksDB as 
the backend:
   
   ```bash
   docker run -itd --name=graph -p 8080:8080 hugegraph/hugegraph
   ```
   
   This command will start the HugeGraph server in the background, and you can 
access it at `http://127.0.0.1:8080` 
<sup>[[1]](https://github.com/apache/incubator-hugegraph-doc/blob/master/content/en/docs/quickstart/hugegraph-server.md)</sup>.
   
   If you prefer to use a startup script, follow these steps:
   
   1. **Update the `hugegraph.properties` file** with the desired backend 
configuration. For example, for RocksDB:
   
       ```properties
       backend=rocksdb
       serializer=binary
       rocksdb.data_path=.
       rocksdb.wal_path=.
       ```
   
   2. **Initialize the database** (required on first startup):
   
       ```bash
       cd *hugegraph-${version}
       bin/init-store.sh
       ```
   
   3. **Start the server**:
   
       ```bash
       bin/start-hugegraph.sh
       ```
   
   This will start the HugeGraph server and connect it to the configured 
backend storage 
<sup>[[1]](https://github.com/apache/incubator-hugegraph-doc/blob/master/content/en/docs/quickstart/hugegraph-server.md)</sup>.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to