1.7.3 • Published 3 years ago
tinypulse-coach-app v1.7.3
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')