Sign inSign up

weaponsforge/gsites-components

By weaponsforge

Updated over 1 year ago

Dynamic card-like widgets for embedding as external websites in Google Sites

Image
Developer tools
Content management system
Databases & storage
1

343

weaponsforge/gsites-components repository overview

gsites-components

Latest frontend (client) and backend (server) local development images of the gsites-components web app, a CMS for managing card-like widgets in Google Sites using Firebase.

These images are only for local development.

Live Preview
https://climate-profile-dev.web.app/

GitHub Repository
https://github.com/weaponsforge/gsites-components

Basic Usage

  1. Pull the "latest" client and server development images.

    docker pull weaponsforge/gsites-components:client
    docker pull weaponsforge/gsites-components:server
    
  2. Create .env files for the client and server.

    • Visit the client/README.md and server/README.md files of the gsites-components GitHub repository for more information about the .env file contents.
  3. Spin up the client container with:

    docker run -it --rm -p 3000:3000 --env-file .env weaponsforge/gsites-components:client
    
  4. To run available NPM commands in the server container, for example, to create a user:

    docker run -it --rm --env-file .env weaponsforge/gsites-components:server npm run user:create [email protected] --password=anypasasword --displayname="Game Tester" --emailverified=true
    
  5. Load the localhost website at:
    http://localhost:3000

Usage with Docker Compose

  1. Clone the gsites-components repository.
    git clone https://github.com/weaponsforge/gsites-components.git

  2. Navigate to the cloned gsites-components root project directory, then run:
    docker compose -f docker-compose.dev.yml pull

  3. Set up the environment variables for the /client and /server directories.

    • Visit the gsites-components client/README.md and server/README.md files for more information.
    • Take note of the .env variables setup for Windows and Linux to enable hot reload.
  4. Run the development images.
    docker compose -f docker-compose.dev.yml up

Tag summary

Content type

Image

Digest

sha256:5bca0e558

Size

165 MB

Last updated

over 1 year ago

docker pull weaponsforge/gsites-components:client