Dynamic card-like widgets for embedding as external websites in Google Sites
343
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
Pull the "latest" client and server development images.
docker pull weaponsforge/gsites-components:client
docker pull weaponsforge/gsites-components:server
Create .env files for the client and server.
client/README.md and server/README.md files of the gsites-components GitHub repository for more information about the .env file contents.Spin up the client container with:
docker run -it --rm -p 3000:3000 --env-file .env weaponsforge/gsites-components:client
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
Load the localhost website at:
http://localhost:3000
Clone the gsites-components repository.
git clone https://github.com/weaponsforge/gsites-components.git
Navigate to the cloned gsites-components root project directory, then run:
docker compose -f docker-compose.dev.yml pull
Set up the environment variables for the /client and /server directories.
client/README.md and server/README.md files for more information..env variables setup for Windows and Linux to enable hot reload.Run the development images.
docker compose -f docker-compose.dev.yml up
Content type
Image
Digest
sha256:5bca0e558…
Size
165 MB
Last updated
over 1 year ago
docker pull weaponsforge/gsites-components:client