Process orders after payment.
/tinyshop/server
directory.python administrate.py
. In this instance, administrate.py copies the undelivered orders into orders-undelivered.csv.cat orders-undelivered.csv
to output the undelivered orders; if no undelivered orders are output, no further action is necessary.git add orders-undelivered.csv
to add orders-undelivered.csv to the staging area.git commit -m "Commit orders-undelivered.csv to the repository."
to commit orders-undelivered.csv to the repository.git push origin master
to push the repository to GitHub./tinyshop
directory.git pull origin master
to fetch and merge the GitHub private tinyshop repository./server
directory.wget https://tinyshops.org/assets/orders-update.csv
to get the orders-update.csv template.orders-update.csv
in a spreadsheet editor.orders-undelivered.csv
in a spreadsheet editor.id
to the order_id
.courier_delivery_id
(e.g. USPS trackingNumber).cache_delivery_status
to delivered
, canceled
, or leave blank. A delivered
or canceled
order will not reappear in orders-undelivered.csv.git add orders-update.csv
to add orders-update.csv to the staging area.git commit -m "Commit orders-undelivered.csv to the repository."
to commit orders-update.csv to the repository.git push origin master
to push the repository to GitHub./tinyshop
directory.git pull origin master
to fetch and merge the GitHub private tinyshop repository./server
directory.python administrate.py
. In this instance, administrate.py updates the orders database table given orders-update.csv.