Code Monkey home page Code Monkey logo

Comments (3)

guledali avatar guledali commented on July 28, 2024

We should also make a note on installing postgresql and setting up a proper developer environment.

I made a short guide for windows users below,

from redwoodjs-com-archive.

guledali avatar guledali commented on July 28, 2024

@thedavidprice

Redwood recommends installing the databases for windows user through windows subsystem for linux. The only requirement is that you have Windows 10 version 16215.0 or higher

Go ahead installing the following https://www.microsoft.com/en-us/p/ubuntu/9nblggh4msv6?activetab=pivot:regionofsystemrequirementstab

Remember to enable it by running the following command in powershell
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

We at Redwood also recommend installing the new terminal with it for nicer experience. It allows you to have tabs and other awesome features. If you click on the dropdown you can choose between different modes. Just make sure you select the ubuntu mode and remember to thank us later! https://www.microsoft.com/en-us/p/windows-terminal-preview/9n0dx20hk701?activetab=pivot:overviewtab

Now that everything is installed and the computer is rebooted, open the newly installed terminal and select ubuntu mode and run these following command

Because linux subsystem it’s own thing you have to install node, npm and yarn binaries bummer but don’t worry we at Redwood got you covered

sudo apt-get install nodejs
sudo apt-get install npm
sudo apt-get install yarn

So now back to main topic, first Install SQLite you will need it shortly after

sudo apt-get install sqlite3

Also for the later stages of the tutorial

sudo apt-get install postgresql

and remember to start it

service postgresql start

Everything should work fine, if you are however keep experiencing issues with your developer environment. Please raise an issue here in github and email us at [email protected] and we will get back at you soon as possible.

from redwoodjs-com-archive.

thedavidprice avatar thedavidprice commented on July 28, 2024

Created a "Troubleshooting & How To" category in the forum:
https://community.redwoodjs.com/c/troubleshooting/8

Added the SQLite instructions here:
https://community.redwoodjs.com/t/installing-sqlite-locally/112

@guledali Feel free to add the "Windows postgresql How To" guide if you’d like. I’m sure it will help some people but definitely isn’t necessary. And the main changes I’d suggest to the copy above are:

  • write the guide from your own voice as the author, no need to include “Redwood recommends”, etc. Good enough to say "this is what works great for me and you might like it, too!"
  • for the terminal part, if you include it maybe make it more clear that it’s optional. It will be better to have many guides that cover very specific topics versus inclusive, lengthy guides with many topics all-in-one. Think of it like SEO for troubleshooting… think of the term people will search for when they have problems or questions, put that term in the title, and write the article with a lazer focus on that topic. Make sense?

Most of all, thanks again for being an active collaborator!

from redwoodjs-com-archive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.