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
- Host: GitHub
- URL: https://github.com/oddbit/tanam-starter
- Owner: oddbit
- License: apache-2.0
- Created: 2019-04-02T15:04:24.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-24T07:37:07.000Z (over 6 years ago)
- Last Synced: 2025-05-07T19:02:17.179Z (10 months ago)
- Topics: cms, firebase, project-starter, project-template, starter-project, template-project, typescript
- Language: TypeScript
- Homepage: https://github.com/oddbit/tanam
- Size: 71.3 KB
- Stars: 7
- Watchers: 2
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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