Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 1.53 KB

README.md

File metadata and controls

49 lines (38 loc) · 1.53 KB

likecoin-button

CircleCI Greenkeeper badge

Link based LikeButton on firebase functions + hosting

Introduction

For introduction ot LikeCoin button, please refer to user guide here.

Documentation

Please refer to developer guide and integration guide.

Folder structure

├── functions
│   ├── dist # auto generated dist ver by babel
│   ├── modules # aux helpers
│   ├── nuxt # auto generated nuxt directory
│   ├── ssrapp.js # handle nuxt SSR logic
│   └── index.js # import all other functions
├── public_base # public static content, will be merged with nuxt build
├── public # auto generated static content folder from nuxt and public_base
├── src # Actualy nuxt project, where development should happen
├── .firebaserc # define firebase project
└── firebase.json # firebase related settings

Dev Setup

# switch to nuxt project directory
$ cd src

# install dependencies
$ npm install # Or yarn install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm start

Deploy

# deploy everything
$ firebase deploy