OpenTechStrategies / torque-devenv

Set up a development environment for torque-sites
0 stars 0 forks source link

Functionalize competition setup #7

Open slifty opened 3 years ago

slifty commented 3 years ago

Adding a new competition to the development environment should be pretty cut-and-DRY (see what i did there). It's the same logic for each competition so far, with just a swapping of the competition name.

Lets replace the configuration.sh blocks for competition setup with a more generic function that is called for the various competitions our dev environment is meant to support. This will also make adding new competitions to our dev setup trivial.