Steps to Complete a Pull

Once an Airtable update has been completed the following steps must be completed

  1. Ssh onto the droplet as a user that has sudo privileges and then run the following commands

    1. sudo -i

    2. cd /root

    3. ./create_json_files.sh

  2. Push the new changes to git (if you have issues pushing to git see troubleshooting below)

    1. cd /var/www/covercrop.tools/covercrops

    2. git add .

    3. git commit -m “<a commit message>”

    4. git push

  3. Pull the changes to your local machine

    1. git checkout master

    2. git pull

  4. Build the changes on your local machine and push them to github

    1. npm run build

    2. git add .

    3. git commit -m “<a commit message>”

    4. git push

  5. Ssh onto the droplet and pull the new build files to the server (if you have issues pulling from git see troubleshooting below)

    1. git pull

  6. The DST is now updated!