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

https://github.com/oddbit/tanam-starter

Starter project for Tanam CMS
https://github.com/oddbit/tanam-starter

cms firebase project-starter project-template starter-project template-project typescript

Last synced: 9 months ago
JSON representation

Starter project for Tanam CMS

Awesome Lists containing this project

README

          

# Starter project for [Tanam CMS](https://github.com/oddbit/tanam)
Fork or clone this repository and update [`.firebaserc`](.firebaserc) with your own project ID.

After that, follow the instructions on setting up your Firebase project as described in
[the official Tanam documentation](https://github.com/oddbit/tanam#how-do-i-get-tanam).

# Build and deploy with CI/CD
Create a authentication token for non-interactive deployment with Firebase

```bash
$ firebase login:ci
```

You will be prompted to open a URL in the browser where you login using the account that has access
to your Firebase project.

After successfully loggin in, copy the auth token that is prompted in your terminal window. It should
look something like this

```
1/pZQgDFG9G89sdfjsdf0Fz_g9dfma7_zH0sdfi9snfY
```

## Travis
Create the [environment variables](https://docs.travis-ci.com/user/environment-variables/#defining-variables-in-repository-settings) mentioned below in your project settings and enable the build pipeline to run on each update to the repository.

- `FIREBASE_DEPLOY_KEY` - The authentication token mentioned above
- `FIREBASE_PROJECT_ID` - Your firebase project ID

## Gitlab
Create [environment variables](https://docs.gitlab.com/ee/ci/variables/#via-the-ui)
in your project settings and enable the build pipeline to run on each update to the repository.

- `FIREBASE_DEPLOY_KEY` - The authentication token mentioned above
- `FIREBASE_PRODUCTION_PROJECT_ID ` - Your firebase production project ID
- `FIREBASE_DEVELOP_PROJECT_ID ` - Your firebase development project ID