This project lists known programs available in South Africa that teach coding.
This is a Codebridge community website. All organisation is conducted on the ZATech slack workspace on the channel #codeschooldirectory. Join and say hi!
The website is running live here: https://codeschooldirectory.co.za
The data is stored in this Google Sheets: https://docs.google.com/spreadsheets/d/1Qrgw91Vod2bPmH1OlDMBqGJG2DF5XGZnIGz_Lc_9PvQ/edit#gid=0
All data is pushed from the Google Sheet to a Firebase Realtime Database on every change. The changes are reflected on the website within 1-2 seconds.
First pull the repository:
git pull https://github.com/ChrisOwen101/SouthAfricanCodeSchools.git
Run:
npm update && npm start
Travis CI is setup to automatically deploy on every commit or merge to Master. All warnings are treated as errors so the build will fail if you do not resolve all warnings before pushing.
To build:
npm run build
To deploy (you'll need the keys for Firebase. Not sure on the best way to manage this yet)
firebase deploy
There are three environment files included:
.env
: This is the one used when you build and run your app locally..env.local
: A reference copy of the .env file, indicating preferred local variables..env.production
: If you are authorised to and are going to be deploying a production, this contains a few extra values you should include.
Notes:
- Changes to an .env file will need an app restart to take effect.
- You can use:
git update-index --skip-worktree .env
to ignore changes to your local env file. - These files are only for publicly shareable keys and variables, don't put sensitive data here.