Git Product home page Git Product logo

cppindia-usergroup.github.io's Introduction

  1. Install Docker on your system
    Make sure you have Docker installed on your machine. If you don't have it already, you can download and install it from the official Docker website for your operating system.

  2. Build Docker image
    Use the following command to build the Docker image for CppIndia website:

    docker build -t cppindia_website .
  3. Run Docker instance
    Start a Docker container from the built image using this command:

    docker run --name cppindia_website -p 4000:4000 -v $(pwd):/srv/jekyll cppindia_website

    This will run the Jekyll development server inside the container and map port 4000 from the container to port 4000 on your host machine, allowing you to access the website at http://127.0.0.1:4000/ in your browser.

  4. Make changes to the website
    Use any code editor to modify CppIndia website's source files. Any changes you make on your host machine will automatically trigger a website rebuild inside the running Docker container.

  5. Observe changes in the browser
    After making changes, refresh http://127.0.0.1:4000/ in your browser to see the updated version of your website. The rebuild process might take around 30 seconds to 1 minute to complete.

cppindia-usergroup.github.io's People

Contributors

cppindia-usergroup avatar dependabot[bot] avatar garodimb avatar jayuambekar avatar jhadheeraj1986 avatar sankurm 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.