Git Product home page Git Product logo

job2's Introduction

Installation and Running Instructions

Cloning the Repository

  1. Open your terminal.

  2. Execute the following command to clone the repository:

    git clone https://github.com/amaxcz/job2.git

    or

    git clone [email protected]:amaxcz/job2.git
  3. Navigate to the project directory:

    cd job2

Building and Running the Container from Source Code

Build and run the container from the source code

  1. Make sure Docker and Docker Compose are installed on your system.

  2. Execute the following command to build and run the container:

    sudo docker-compose up --build

    This will create and start the container with the web application.

  3. Open your browser and go to http://127.0.0.1:8080 to view your web application.

Running the Container from Docker Hub

  1. Ensure Docker and Docker Compose are installed on your system.

  2. Execute the following commands to pull and run the container from Docker Hub:

    sudo docker-compose pull
    sudo docker-compose up

    This will download the pre-built container from Docker Hub and start it.

  3. Open your browser and go to http://127.0.0.1:8080 to view your web application.

Pulling the Container from Docker Hub

To pull the container directly from Docker Hub using the command line, you can use the following command:

sudo docker pull amaxcz/job2-web_app:1.0

This command will download the specified container image (amaxcz/job2-web_app:1.0) from Docker Hub to your local machine.

After pulling the image, you can run it using the following command:

sudo docker run -p 8080:8080 amaxcz/job2-web_app:1.0

This will start the container and map port 8080 on your local machine to port 8080 inside the container.

Accessing the Web Application

After successfully running the Docker container, you can access the web application by opening your browser and navigating to http://127.0.0.1:8080.

You will be greeted with a blank page containing three buttons:

  1. Crawl: Click this button to initiate the data crawling process. Please wait for approximately 10 seconds as the data is extracted and loaded into the database.

  2. Clear: This button clears all records from the database.

  3. Refresh: Clicking this button simply refreshes the page.

Feel free to interact with these buttons and explore the functionality of the web application.

job2's People

Contributors

amaxcz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.