jacob-macleod / Dolphin-Flashcard-App

http://www.dolphinflashcards.com
MIT License
3 stars 5 forks source link

Develop CLI Tools for Managing Database #166

Open jacob-macleod opened 2 months ago

jacob-macleod commented 2 months ago

To start the database, run unit tests, stop the database, run the main.py file, and delete all the database data, I need to run specific bash scripts, commands, or copy lines from other scripts (in the case of deleting the database data). Your task is to develop a bash script (and a Windows batch script if you want) which is executable, and that I can invoke by typing the_script_name. The script should allow you to:

You can also do this in Python (including a python package) or a C related language if you like (just something I can run easily)

Let me know if you have any questions, or to know which files the commands to do the above are currently stored in (for example, the commands to manage the database are split across several files)