Installation #46
-
Could you elaborate more on installing the project with all the dependencies?
kindly elaborate this part more |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
Yarn is a package manager just like npm but its faster and has better caching. So I recommend using yarn. With that said, npm is totally fine. You can use npm, no issue. But keep in mind this project is using yarn, so delete the Hope that helps ✌️ |
Beta Was this translation helpful? Give feedback.
-
hey, I found this project very interesting but I'm new to javascript stuff and I have a hard time finding the main file also how can I run this on the local host, I would like to add some more features like adding a home page for solar sim also adding loading animation while the site is opening. also, I would like to add a more descriptive "how to run" readme first file, but yeah I myself am having a hard time understanding how to run :( |
Beta Was this translation helpful? Give feedback.
-
Yeah, actually we did the whole website in react but the simulation part is done in html/css/js. Now, due to security reasons, react does not allow injecting html and we didn't have time to migrate the simulation section to react. Hence we decided to put the code inside the index.html. In Regarding the installation part, I have a similar project and the installation process is the same. Installation Guide. The main file is at And hey, thanks for taking an interest. You can create an installation guide if you want. Thanks 👍 |
Beta Was this translation helpful? Give feedback.
-
Also if you're getting errors then that's because you don't have firebase api keys. I will modify the code so that you can run it locally. |
Beta Was this translation helpful? Give feedback.
-
I have done the setup. Once you have installed all the packages, follow these steps:
|
Beta Was this translation helpful? Give feedback.
Yarn is a package manager just like npm but its faster and has better caching. So I recommend using yarn.
With that said, npm is totally fine. You can use npm, no issue.
But keep in mind this project is using yarn, so delete the
yarn.lock
file and then runnpm install
. Also, do not push thepackage-lock.json
(if you make any commits).Hope that helps ✌️