Skip to the article
Aniq-UI

3D LandingRun the site locally

Run the site locally

Get the landing page running on your computer with two Docker commands.

Before you start: install and open Docker Desktop, or Docker Engine on Linux. Nothing else is needed, and there is no .env file to create.

View requirements
  1. Download the template

    Open the template's page on Aniq UI and press Download Free. Enter your email and your name and press Claim: you land in your dashboard, signed in, and download the ZIP from My templates.

    Expected result: A file named like juicy-main-….zip is in your downloads.

  2. Unzip and open the folder

    Extract the ZIP and open a terminal in the juicy folder. On Windows, extract it in File Explorer, then open a terminal in the folder.

    Terminal
    unzip juicy-*.zip
    cd juicy

    Expected result: The folder lists Dockerfile, package.json, messages, public and src.

  3. Build the image

    The site reads no environment variables, so the build takes no arguments. The first build downloads Node.js and the dependencies and takes a few minutes; later builds reuse what did not change.

    Terminalin juicy
    docker build -t juicy .

    Expected result: The build ends with a line naming the image juicy.

    Having trouble?
  4. Start it and open the site

    Start a container from the image, then open localhost:3030Local. Arabic is at /ar.

    Terminalin juicy
    docker run -p 3030:3030 juicy

    A port is already in use?

    If the start stops with ports are not available ... address already in use, another program uses port 3030. Either stop it, or change the number on the left of -p only: run docker run -p 3041:3030 juicy and open localhost:3041Local.

    A port is already in use

    Expected result: The page opens on the Lemon Ginger can. Scroll, press the arrow keys or use the arrow buttons to turn the wheel.

    Having trouble?

Take a tour

What the page looks like once it runs.

Stop and start again

Press Ctrl+C in the terminal to stop it. Start it again with the same docker run command; there is nothing to rebuild.

To keep it running in the background instead, give the container a name, then stop it by that name:

Terminal
docker run -d --name juicy -p 3030:3030 juicy
docker stop juicy

After docker stop, docker start juicy starts the same container again. After you change a file, run docker build -t juicy . again: the image holds a copy of the site as it was when you built it.

Next

Stuck on a step?

Find a fix before you start over.

Troubleshooting

Cookie Preferences

We use cookies to enhance your browsing experience, analyze site traffic, and personalize content. By clicking "Accept All", you consent to our use of cookies for analytics and personalized advertising.