Sign inSign up

weaponsforge/vitexperiments

By weaponsforge

Updated about 1 month ago

Vite + React app for reference of general React coding patterns, practices and conventions

Image
Developer tools
0

1.0K

weaponsforge/vitexperiments repository overview

vitexperiments

Simple React app created with Vite for reference of general React coding patterns, practices and conventions

This image is only for local development.

Live Preview
https://weaponsforge.github.io/vitexperiments/

GitHub Repository
https://github.com/weaponsforge/vitexperiment/

Basic Usage

  1. Pull the "latest" development image.

    docker pull weaponsforge/vitexperiments
    
  2. Run the React app to view its contents.

    docker run -it -p 3000:3000 --env-file --rm weaponsforge/todo-next:client
    
  3. Load the localhost website at:
    http://localhost:3000

  4. To run the React app for development mode with hot reload, read on the more detailed installation and instructions at the https://github.com/weaponsforge/vitexperiment README.

Usage with Docker Compose

  1. Clone the vitexperiments repository.
    git clone https://github.com/weaponsforge/vitexperiments.git

  2. Navigate to the cloned vitexperiments root project directory, then run:
    docker compose pull

  3. Set up the environment variables for the vitexperiments /app directory.

    • Visit the README.md file for more information.
    • Take note of the .env variables setup for Windows and Linux to enable hot reload.
  4. Run the development image.
    docker compose up

  5. Load the localhost website at:
    http://localhost:3000

Tag summary

Content type

Image

Digest

sha256:dfb43acbd

Size

140.9 MB

Last updated

about 1 month ago

docker pull weaponsforge/vitexperiments