A-I-P-A / CSRAssist

Tooling to assist CSRs
0 stars 0 forks source link

Update README with recommended environmental setup #12

Open tramdas opened 9 months ago

tramdas commented 9 months ago

While developing the code in CSRAssist a few problems were encountered due to environmental factors, such as choice of operating system. We should document some recommendations so that next year when we onboard more devs these problems won't be encountered again.

@sonalikapatel84 since you just went through the process of moving from Windows to WSL, and then now from Ubuntu 16 to something newer, I think you have had a lot of experience this issue so can I suggest you pick up this task? Just document the things you wish you knew when you started. What do you think?

sonalikapatel84 commented 9 months ago

Good idea. I would document my learnings and findings with screenshots for future reference.

sonalikapatel84 commented 9 months ago

I work in a Windows OS v10. I was getting errors related to compatibilities of softwares, and to uninstall and reinstall was taking time (sometimes hours) which was not a productive way of working.

WSL is way better than working with Windows machine due to below reasons: Package Management: WSL provides a Linux-like environment on a Windows machine. Linux has a robust package management system. With WSL, we can easily install and manage Python packages and dependencies using package managers, which is often more straightforward than dealing with manual installations or using tools like pip on Windows.

sonalikapatel84 commented 9 months ago

Windows Terminal (or a similar tool which gives multiple tabs feature) is an useful tool to open multiple Windows. https://en.wikipedia.org/wiki/Windows_Terminal

sonalikapatel84 commented 9 months ago

I was working with Ubuntu 16 initially. I needed "Redis" for this CSRAssist project. But below error was displayed. image

I uninstalled Ubuntu v16 and installed Ubuntu 22.04.3 LTS. This version works good with the dependencies needed in the CSRAssist project.

sonalikapatel84 commented 9 months ago

Current Python Version I use-> root@Sonalika-PC:~/Projects# python3 --version Python 3.10.12

sonalikapatel84 commented 9 months ago

Hi @tramdas , I have updated this task with the environment I use. Please let me know if there is anything else I have forgotten to capture.

tramdas commented 9 months ago

Where did you get Python from? Was it anaconda or somewhere else?

I think would be good to start writing up as part of the CSRAssist README.