Forums

Local development

I'm working on a flask+mysql setup for a trading bot and I intent to upgrade to a hacker plan.

Is there any worfklow solution to work locally on my code (eg on spyder) instead of writing code on the web editor? I am going to test hundreds of changes on my code so the local speed is required.

I can see two solutions:

1) git pushing from local then retrieving from web and reloading (time consuming for each change of code). 2) setup a local flask and mysql to mockup the server side. At major changes upload code to live server. Repeat....

How other people handle local development? Any tips? Thanks!

I'd suggest option 2 as it is faster and safer. You can also set git integration for that, of course.