This site allows users to interact with data from the Georgian-Budget project API.
- Setup .env file
cp .env.example .env
- Install docker
docker-compose build(takes a while)
- Open localhost:8080
If you want to use the API locally, then...
- Setup the API app on your computer
For the first time:
- Add your environment-specific config to
shipit staging deploy
- The first deploy won't work fully, because the
.envfile is missing on the server. Run
cp current/.env.example shared/.envand then add the necessary environment variables to
shipit staging deployagain
- App should be running now. Run
pm2 startupto get instructions from
pm2on how to make the app server start up again whenever the server reboots.
You may have noticed that redux reducers and actions in this repo are grouped into modules, called ducks, located in the
js/ducks directory. Learn more about ducks here.