Setting up a Local Server
Setting up a DeWeb server locally allows you to browse and manage decentralized websites without any intermediaries. Follow these steps to get started.
Step 1: Download the Binary
Visit the DeWeb Releases page on GitHub.
Download the binary file matching your operating system and architecture:
- Linux:
deweb-server-linux-{arch}
- Windows:
deweb-server-windows-{arch}
- MacOS (Darwin):
deweb-server-darwin-{arch}
(For Apple Silicon, choosearm64
)
If your target or architecture is missing, please open an issue to request it.
- Linux:
Step 2: Extract the Binary
- Extract the downloaded file if it is in a zip format.
Step 3: Run the Server
Option 1: Using GUI
Windows
- Navigate to the directory where the binary is located.
- Double-click the
deweb-server.exe
file.
MacOS
- Navigate to the directory where the binary is located.
- Right-click the
deweb-server
file and select "Open". - A warning dialog will appear. Click "Open" to run the binary.
- After the first run, you can double-click the binary to open it.
Linux
For Linux users, running binaries via GUI can vary greatly depending on the desktop environment. Generally:
- Navigate to the directory where the binary is located.
- Right-click the binary and select "Properties".
- Ensure the "Execute" permission is checked.
- Double-click the binary to run it.
Option 2: Using Terminal
Open your terminal (command prompt on Windows).
Navigate to the directory where the binary is located.
Run the server with the following command:
./deweb-server
On macOS or Linux run chmod +x deweb-server
command before ./deweb-server
to allow execution.
On Windows, use deweb-server.exe
instead of ./deweb-server
Step 4: Access the Server
By default, the DeWeb server runs on localhost:8080
. You can access it using a web browser:
- Visit
http://deweb.localhost:8080
to see the welcome page.
Configuration
To customize your server settings, refer to the Server Configuration page.
DeWeb is still a work in progress, and we are actively listening to feedback. If you encounter any issues or have suggestions, please let us know through our issue tracker.