Web client for Chargeprice: www.chargeprice.app
- Install NodeJS (>=10.x)
- Install Yarn
- Create
.envfrom.env.sampletemplate file (and ask for the correct values) - Check if everything works by starting the server:
yarn start
- Start Server:
yarn start
- Create
.envfrom.env.sampletemplate file (and ask for the correct values) - Build the Docker image:
docker build -t chargeprice-client . - Run the Docker container:
docker run -p 9000:9000 chargeprice-client
- 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.localfromscripts/.env.sampletemplate file (and ask for the correct values).
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.
Please contact me (contact@chargeprice.net).