Requirements:
To install run command:
yarn install
In development mode,
create a .env
file with:
BASE_LAYER_ID=aa0b663e-b8af-4433-9ab0-4dbeb7c1b981
LABEL_LAYER_ID=3cb14d6b-49ab-423b-8290-7a19d374381e
CARTODB_ACCOUNT=careinternational
And run local server running:
yarn start
Build
BASE_LAYER_ID=aa0b663e-b8af-4433-9ab0-4dbeb7c1b981 LABEL_LAYER_ID=3cb14d6b-49ab-423b-8290-7a19d374381e CARTODB_ACCOUNT=careinternational NODE_ENV=production yarn build
There is a Github pages project set up. You simply need to build the project (see above) and run yarn deploy-staging
Note this project is hosted in the client's server and we only have FTP access to it. Ask PM for credentials to access it.
- Fork it!
- Create your feature branch:
git checkout -b feature/my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin feature/my-new-feature
- Submit a pull request :D