I have been trying to install Frappe v14 on my macOS for following the tutorial. Initially, I tried the installation detailed here
Installation.
I ran into a number of problems related to MariaDB - first to find the password and after I solved that, more and more problems on MariaDB. Frappe team recommended me to try the Docker route.
Then, in the past few days, I am trying to set up as per the instructions from the link latest recommended installation methods.
Once I land there, I faced this section which asked me to clone the frappe_docker repo and then cd into that. What to do afterwards was not mentioned there, even though the page says that the quick setup guide will be found below
Anyway, I clicked on the link provided there to frappe/frappe_docker: Docker images for production and development setups of the Frappe framework and ERPNext
Here it mentioned that you need docker, docker-compose and git - for basics of Docker, go to Docker site. Since I am totally new to Docker, I decided that I would spend the time to understand Docker first before proceeding with the installation. I have spent serious time trying to understand how docker and docker compose works - with that knowledge under my belt, I came back to this repo to see how to start the docker container.
Based on what I have learnt, I need to run docker compose up
with the image. But I could not see any such instruction. Anyway, I tried it and I got the below error
Ok - that did not work. I need to find a way to make this work. This page does NOT say anything about what to do after cloning the repo and cding into that folder.
So, I tried the link start development
Now this page again talks about setting up docker and docker-compose and adding user to Docker group (I did NOT know what that meant). It also talks about setting a higher RAM. I have done that.
Then, I followed the instruction given here, even though I could not understand why this was NOT done as part of the readymade repo - would have saved this trouble for many newbies like me.
Then it has asked me to install the Dev Containers Extensions - I did and followed all the steps. And this is the error I got:
I know this is VSCode error and not something to do with Frappe - I searched for an answer to this but could not find any answer. So, I reinstalled the extension, and the error is gone, but nothing really happens. I am gonna try reinstalling VSCode to see whether anything changes.
Meanwhile, can anyone help me with how to get the docker container running without using VSCode? And if anyone faced any similar problem on VScode, can you please point me to some resources?