https://github.com/ph1p/carlhauser.com
This repository contains the code of carlhauser.com
https://github.com/ph1p/carlhauser.com
Last synced: over 1 year ago
JSON representation
This repository contains the code of carlhauser.com
- Host: GitHub
- URL: https://github.com/ph1p/carlhauser.com
- Owner: ph1p
- Created: 2019-05-12T22:22:18.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T02:07:03.000Z (over 3 years ago)
- Last Synced: 2025-02-28T00:15:31.745Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://carlhauser.com
- Size: 1.4 MB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# carlhauser.com
This repository contains the code of [carlhauser.com](https://carlhauser.com)
### development
```bash
npm i # install npm packages
npm run dev # run dev server
```
#### environment variables
```javascript
process.env.GAPI_CLIENT_EMAIL // contains the googleapi service email
process.env.GAPI_PRIVATE_KEY // contains the googleapi private key
process.env.SPREADSHEET_ID // contains the google spreadsheet id
```
### deploy on now
```bash
npm i now -g # install now global
```
#### create secrets
```bash
now secrets add gapi-service-email "mail"
now secrets add gapi-private-key -- "`< file.key`"
now secrets add spreadsheet-id ""
```
#### now dev
Develop local and simulate the now platform.
```bash
npm run now-dev
# or
now dev
```
#### deploy
```bash
now
```