The StopGap Ramp Management System is a full-stack website to assist the StopGap Foundation team deal with their ramp orders more efficiently. Built using React, Django, and PostGreSQL.
The StopGap Foundation is a non-profit organization/charity which aims to make every space barrier-free. They do this by providing businesses and organizations with temporary ramps for their entrances/exits. StopGap has big goals for their future. As they begin to ramp up production nationwide, the team is finding it increasingly difficult to deal with the large number of requests on a daily basis. The previous system in use consisted of a Google form connected to a spreadsheet. This has resulted in a backlog of orders yet to be fulfilled. This is where my team and I worked hand-in-hand with StopGap leaders to develop a tailor made ramp management system that would speed up their ability to handle requests.
In our ramp management system, we focused on key features that were important for the team and clients as they ordered. On the client side we've allowed clients to login to create, view and update requests, and upload new photos. As a StopGap Administrator, in our admin dashboard, admins can view total orders, update existing order, notify clients of additional documents needed and leave notes on orders.
-
Run:
export NODE_ENV=local
On Windows (powershell) instead run:
$env:NODE_ENV="local"
-
Change directory into the app folder
-
Run:
yarn add package.json
-
Execute:
yarn build
-
Apply any database changes:
python manage.py makemigrations python manage.py migrate python manage.py migrate --run-syncdb
-
Run:
python manage.py collectstatic
-
Run:
python manage.py runserver
Also if you change anything on the model, do:
Delete db.sqlite3
and then step 5, to ensure those changes are detected by the server.
-
Run:
heroku login
-
Login to heroku
-
Change directory into app and run:
yarn add package.json
to make sure there is a yarn.lock file
-
Change directory back into the root dir
-
Run:
sudo deploy_app.sh