Chargeprice Client
Web client for Chargeprice: www.chargeprice.app
Setup of Project
- Install NodeJS (>=10.x)
- Install Yarn
- Create
.env
from.env.sample
template file (and ask for the correct values) - Check if everything works by starting the server:
yarn start
Execution Modes
- Start Server:
yarn start
Updating Locales (Translations)
Setup of Script
- Install Ruby (e.g. via https://rvm.io/)
- Install Bundler
gem install bundler
- Make sure you are in the right directiory:
cd scripts
- Install Dependencies
bundle
- Create
scripts/.env.local
fromscripts/.env.sample
template file (and ask for the correct values).
Run the script
ruby fetch_locales.rb
: Fetches the translations from the spreadsheet and
stores them in the locales
folder of the project.
Now the changes of the locales/*.json
files can be commited.
Contribution
Please contact me (contact@chargeprice.net).