raheemazeezabiodun / tunga-web

Tunga Frontend

Home Page:https://tunga.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tunga Web Client

Web Client App for tunga.io

Installation

  1. run this command from project root
npm install webpack -g
npm install webpack-dev-server -g
npm install
  1. Install ImageMagick

Development

  1. run this command from project root

To connect to the test/sandbox API at http://sandbox.tunga.io/api/

npm run watch

To connect to a local version of the API running on your machine at http://localhost:8000/

npm run watch:local
  1. A new browser tab with automatically open at http://127.0.0.1:8080/ (The browser will auto reload when changes are made to the code)

Debugging

React Developer Tools

Redux DevTools Extension

Contributing

You can find our contribution guide here: https://github.com/tunga-io/tunga-web/blob/master/CONTRIBUTING.md

It's important to read if you want to contribute to this repo.

Contributions that don't follow recommendations in our contribution guide may not be reviewed or accepted.

Deployment

Automated

Sandbox

  1. Push changes to develop branch
  2. Run the following commands
npm run deploy:sandbox

or

cd .ansible
ansible-playbook deploy.yml -i env/sandbox

Production

  1. Push changes to master branch
  2. Run the following commands
npm run deploy

or

cd .ansible
ansible-playbook deploy.yml -i env/prod

Manual

Sandbox

  1. run the following commands from project root
npm install
npm run build:sandbox
  1. copy contents of /build folder to webserver

Production

  1. run the following commands from project root
npm install --production
npm run build
  1. copy contents of /build folder to webserver

About

Tunga Frontend

https://tunga.io


Languages

Language:JavaScript 90.8%Language:CSS 8.7%Language:HTML 0.5%Language:Shell 0.0%