NMSCD / NMSCD.github.io-Redesign

🚧 WIP redesign of Community Developers & Designers Website
https://redesign.nmscd.com
GNU General Public License v3.0
0 stars 0 forks source link

Simplify local setup process #12

Closed Lenni009 closed 1 year ago

Lenni009 commented 1 year ago

Couldn't we in theory change the npm run setup command to also run npm i? Or do you need to run setup more than once?

Khaoz-Topsy commented 1 year ago

I think it is possible, the only issue I see is that if we change the setup script to "npm i && <some-other-cmd>" there might be some situations where it doesn't work. I tried it in CMD, Powershell and Bash and it worked no problem. Something in the back of my mind is screaming that it doesn't always work but I can't remember in what scenario it doesn't work 🤔.

Lets give it a try 😝