Back

Old Projects

2021-04-16

Table of Contents

    There was an old project, I say old but it was only a couple years old, that I wrote using nodejs and mongodb on Windows Subsystem for Linux. It was relatively complex and I finally decided to bring it over to my server and found that it was actually a giant pain to set up again. I'm not sure what's missing and I don't care enough to look through it to get it up and going. It may be worth doing again but I definitely don't want to spend time getting it working.

    This is a problem with many things I've written. I've very much written things in the moment without writing down how to get the project running after stopping for long enough that I've forgotten things.

    I think python is a bit better in this regards. For the most part there isn't as much random crap as there is with node. There is no node_modules folder to deal with. The other thing was that I used mongodb but this means that I need mongodb set up to get my project to start where something like sqlite probably would have served my purposes just fine.

    It's a lesson that just hit me. I don't usually go back to old projects. But I should document things and at least have a script that automates bringing up an entire environment. Maybe docker is the solution but I think a couple bash scripts would have been enough. At least it would have pointed me in the right direction.

    Annoyed at myself.