Do it for your portfolio; keep it open source. Use a license that's conducive to OSS and possibly a paid version in the future or dual license later.
Just be realistic with your expectations and don't quit your job until you know that there are customers willing to pay.