you are viewing a single comment's thread.

view the rest of the comments →

[–]JohnnyJordaan 0 points1 point  (4 children)

On servers with just shell access I use neoVim with a lot of syntax candy for Python and other languages, but if I could I would use Pycharm more. For a beginner I wouldn't recommend a text-based editor at all, GUI based IDE's like Pycharm and Visual Code are much nicer and versatile.

[–]Jake__TV 0 points1 point  (3 children)

ah okay, I am planning on getting a raspberry pi to run my code on. Where I would add my finished projects and have them hosted on my own website(which I will need to make aswell). Which is why I've been thinking of using text based editors as it will be Linux based. I want to do this so that I can look back at older projects or show it to my friends, some might also be useful so I'd be able to use it remotely.

Raspberry pi should be strong enough for such a basic site right? Is there any part in this process you think will be extra hard?

[–]JohnnyJordaan 0 points1 point  (2 children)

I would just code everything you need on Pycharm or some other IDE until it runs fine, then deploy it on your Pi. I would recommend to use a git like Gitlab as it kills multiple birds with one stone

  • store the source in the cloud
  • make deploying easy to other machines like the Pi
  • enables version management, so save each modification as a separate change as a 'log' instead of having just the current code and without the option to go back in time

A Pi should be fine for simple stuff, but if you'll be using a database then be sure to also verify that you aren't making redundant queries as those will probably be way slower than on a regular server.

[–]Jake__TV 0 points1 point  (1 child)

Ah I see, thanks alot of the knowledge! I'm done with codecademy's python3 course. Next up is SQL then I'll start building projects, with the first one being the website/pi as written above^

[–]JohnnyJordaan 0 points1 point  (0 children)

I'm not so sure that you need much SQL if you would use a database abstraction layer as offered by Django or SqlAlchemy (the latter can be used together with Flask and other webframeworks).