Skip to content

Latest commit

 

History

History
103 lines (70 loc) · 4.98 KB

File metadata and controls

103 lines (70 loc) · 4.98 KB

Getting started as user

Open https://snjro.github.io/Digu/ to use Digu immediately

There are two ways to use Digu as a user:

To use Digu without installing, you need (to set up) a server. Digu is a semi-serverless application, it should start with opening a html file on your local environment with a browser in theory. However, it won’t work due to the violation of Same-Origin Policy. To comply this policy, you need to use Digu with a server. I suggest the folowing methods, choose the one you prefer:

# Method Dificulty
1 Using GitHub Pages easy
2 Using Visual Studio Code technical
3 Using Node.js technical

This method uses GitHub Pages. It hosts the files in the /_build folder in this repository. You can access it from https://snjro.github.io/Digu/.

This method uses Visual Studio Code (VSCode) and its extention Live Server to set up a local server for using Digu.

The steps:

  1. Download deploy directory
    Download the directory ./_build that is the deploy directory for the web application.

  2. Install VSCode
    Download VSCode from the official site and install it.

  3. Open the downloaded folder on VSCode

    1. Open VSCode.
    2. Click File > Open Folder... in the menu bar at the top on VSCode.
    3. Select the folder that you downloaded in the 1st step.
    4. The contents of the folder are displayed in the Explorer on the sidebar of VSCode.
  4. Install the extention Live Server

    1. Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window.
    2. In the Extensions view search bar, type Live Server and install it.
  5. Start Live Server

    1. To start Live Server, click on Go Live that is on a status bar at the bottom of VSCode.

Then, Your local server is started at port: 5500.
Digu will show up in your default browser with URL http://127.0.0.1:5500/ or http://localhost:5500/.

This method uses Node.js and and its extention Live Server to set up a local server for using Digu.

The steps:

  1. Download deploy directory
    Download the directory ./_build that is the deploy directory for the web application. As an example, assume that the downloaded folder _build is place under the D:\Digu. Then, the directory path would be D:\Digu\_build

  2. Install Node.js
    Download Node.js from the official site and install it.

  3. Navigate to the downloaded folder
    In your terminal, run this command to navigate to the directory D:\Digu\_build:

    cd D:\Digu\_build
  4. Run http-server by npx
    In your terminal, run this command to run http-server:

    npx http-server

    Then, http-server has started like this:

    Visit http://localhost:8080 with your browser to view Digu.

To use Digu as an desktop app, you need to install it. Download the latest installer from the release page and install it. Choose the right one for the OS you are using:

OS Installer
(x.x.x is a version name)
Supported Platform
Linux digu_x.x.x_amd64.deb Ubuntu 18.04 and above
macOS Digu_x.x.x_x64.dmg macOS 10.15 and above
Windows Digu_x.x.x_x64-en-US.msi Windows 7 and above