https://github.com/admwx7/portfolio
A portfolio website to house a blog and information about my current and past projects
https://github.com/admwx7/portfolio
codeship firebase hacktoberfest portfolio
Last synced: 4 months ago
JSON representation
A portfolio website to house a blog and information about my current and past projects
- Host: GitHub
- URL: https://github.com/admwx7/portfolio
- Owner: admwx7
- License: gpl-3.0
- Created: 2018-01-04T02:56:37.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-03-26T10:29:00.000Z (over 2 years ago)
- Last Synced: 2025-10-04T01:46:04.648Z (9 months ago)
- Topics: codeship, firebase, hacktoberfest, portfolio
- Language: TypeScript
- Homepage:
- Size: 1.52 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[ ](https://app.codeship.com/projects/263150)
# Getting Started
## Project Setup
* Requires a firebase project setup for functions and hosting
* Populate the appropriate keys in the FirebaseService.ts
## Local Dev - UI
* Install required globals `npm i -g yarn`
* Install local deps `yarn install`
* Start the dev server `yarn start`
* To lint your code `yarn run lint`
* To autofix errors `yarn run lint:fix`
## Local Dev - Functions
* Install local deps `cd functions && npm install`
* Start the functions `npm start`
## Local Deployments
* Install required globals `npm i -g firebase-tools`
* Login to your firebase account `firebase login`
* This account will require deployment accesss for hosting / functions in firebase
* Run deployment script `yarn run deploy`
* `yarn run deploy:hosting` will deploy just the UI
* `cd functions && npm run deploy` will deploy just the Functions
## CI Pipeline
* Relies on Codeship which contains the credentials for connecting to firebase
* When a new refresh token is needed, update the FIREBASE_TOKEN environment variable with the token generated by `firebasse login:ci`
### Test pipeline
The following commands are run for CI phase "setup"
```bash
npm i -g yarn
yarn install
```
The following commands are run for the CI phase "test pipelines"
```bash
yarn run lint
```
### Deploy pipeline
The following commands are run for the CI phase "deploy"
```bash
cd functions
npm i
cd ..
npm i -g firebase-tools
yarn run deploy
```
### Required Environment Variables
* FIREBASE_TOKEN - required for firebase-tools