tinypulse-coach-app

1.7.3 • Public • Published

Perform SPA | Coach

Frontend app for /perform/*.

Getting Started

~/perform-spa root$ yarn install
~/perform-spa root$ yarn start

Webpack devserver will listen at app.lvh.me:3001. Now you go to app.lvh.me:3000/perform/dashboard for development with rails backend and HMR working directly in rails app.

Prerequisites

  • Need to have tinypulse app running.

Test on production-like enviroment

  • If you push your code, CI will always build a version with 7 chars of commit hash
yarn hash
f1b01e0

Then f1b01e0 is the version of that commit. Now you can change the tinpulse code to load the assets.

# config/initializers/assets.rb
TpCommon::AssetLoaders::RemoteAssetsLoader.load(:'perform-spa', 'f1b01e0')

Readme

Keywords

none

Package Sidebar

Install

npm i tinypulse-coach-app

Weekly Downloads

5

Version

1.7.3

License

UNLICENSED

Unpacked Size

6.21 MB

Total Files

33

Last publish

Collaborators

  • hoangvuit