chargeprice / chargeprice-client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chargeprice Client

Web client for Chargeprice: www.chargeprice.app

Setup of Project

  1. Install NodeJS (>=10.x)
  2. Install Yarn
  3. Create .env from .env.sample template file (and ask for the correct values)
  4. Check if everything works by starting the server: yarn start

Execution Modes

  • Start Server: yarn start

Updating Locales (Translations)

Setup of Script

  1. Install Ruby (e.g. via https://rvm.io/)
  2. Install Bundler gem install bundler
  3. Make sure you are in the right directiory: cd scripts
  4. Install Dependencies bundle
  5. Create scripts/.env.local from scripts/.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).

About

License:MIT License


Languages

Language:JavaScript 82.7%Language:CSS 14.3%Language:HTML 2.5%Language:Ruby 0.5%