An open API service indexing awesome lists of open source software.

https://github.com/jaspero/genos

Source code for the Genos website and CMS. Built in Elder and Svelte on firebase.
https://github.com/jaspero/genos

angular cms elderjs firebase svelte

Last synced: about 2 months ago
JSON representation

Source code for the Genos website and CMS. Built in Elder and Svelte on firebase.

Awesome Lists containing this project

README

          

# Webshop Template

[![Prod | Deploy Web](https://github.com/Jaspero/webshop-template/actions/workflows/webshop.yml/badge.svg)](https://github.com/Jaspero/webshop-template/actions/workflows/webshop.yml)

[![Prod | Deploy CMS](https://github.com/Jaspero/webshop-template/actions/workflows/cms.yml/badge.svg)](https://github.com/Jaspero/webshop-template/actions/workflows/cms.yml)

[![Prod | Deploy Functions](https://github.com/Jaspero/webshop-template/actions/workflows/functions.yml/badge.svg)](https://github.com/Jaspero/webshop-template/actions/workflows/functions.yml)

[![Prod | Deploy Firestore Indexes](https://github.com/Jaspero/webshop-template/actions/workflows/indexes.yml/badge.svg)](https://github.com/Jaspero/webshop-template/actions/workflows/indexes.yml)

[![Prod | Deploy Rules](https://github.com/Jaspero/webshop-template/actions/workflows/rules.yml/badge.svg)](https://github.com/Jaspero/webshop-template/actions/workflows/rules.yml)

[![Prod | Deploy Storage Rules](https://github.com/Jaspero/webshop-template/actions/workflows/storage.yml/badge.svg)](https://github.com/Jaspero/webshop-template/actions/workflows/storage.yml)

- [Web](https://genos-ec52a.web.app/)
- [CMS](https://genos-ec52a-cms.web.app/)
- [Figma Wireframe](https://www.figma.com/file/Pb7saI2I3K9cUzVTPDdwkK/shopify-wireframe?type=design&node-id=0-1&mode=design&t=zCZIj2pcwiuDl1BE-0)

## Getting Started

- Enable Blaze plan on firebase
- Enable Firestore, Storage, Authentication (including google authentication).
- Enable the identity platform
- Enable Multi Factor Authentication
- Set up an additional hosting site [project]-cms
- On the authorized domains page add the added site as well as the main domain website if there is one
- Change the configuration in all of the workflows
- Change the env-config files throughout the project
- Change the .firebaserc targets
- Change the action URL in authenticaiton templates to `https://europe-west1-[project].cloudfunctions.net/actioncontroller`
- Download a service account and store it in `web/key.json`
- Add the service account to GitHub secrets with the name SERVICE_ACCOUNT
- To enable website releases you'll need to generate a github token and add it to GCE-s secret manager under the name `GITHUB_TOKEN`
- Look for any `TODO(Project Specific)` references in the codebase and update them accordingly

## Release Checklist

- Make sure `404` page is added to the pages.
- Theme colors are adjuste in: `cms/tailwind.config.js`, `web/tailwind.config.js`, `shared/styles/core.pcss` and `cms/src/app.pcss`
- Make sure a favicon is added for both the CMS and the Website