Wedding Companion
Progressive web wedding companion app
Development
git clone https://github.com/viktorsec/wedding-companion.git
yarn
to install dependenciesyarn start
to start dev environment
You will need Node and Yarn. If you don't already have them, do this on macOS:
- Get Homebrew package manager:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install Node:
brew install node
- Install Yarn:
brew install yarn
Deployment
Local network
yarn global add serve
(install serve)- rename
src/components/consts/Secret.js.template
toSecret.js
and set Google Album Uri yarn run build
(build)serve -s build
(deploy)
Your app will be available on your network on {HOST_IP}:5000
.
Remote development environment
- Get Now
- rename
src/components/consts/Secret.js.template
toSecret.js
and set Google Album Uri yarn run build
now --public
Production
yarn run build
- Copy static build files to ftp server.
Testing
yarn test