sunshinepasob.blogg.se

Installing git on windows 10 guide
Installing git on windows 10 guide





installing git on windows 10 guide
  1. Installing git on windows 10 guide how to#
  2. Installing git on windows 10 guide install#
  3. Installing git on windows 10 guide 64 Bit#
  4. Installing git on windows 10 guide 32 bit#

Once downloaded double click the executable to Start the Git Installation wizard.įor a 64 bit installer, the default path would show up as C:\Program Files\Git, for 32-bit machines it shows up as C:\Program Files(x86)\Git. Or if you have a 64 bit Windows Operating System Installed, choose the 64-bit Git for Windows Setup.Ģ.

Installing git on windows 10 guide 32 bit#

If you have a 32 bit Windows operating system installed, choose the 32-bit Git for Windows Setup. Select to download an installer for the type of processor architecture your machine has and your operating system is running on. This link presents you windows executables for different processor architecture.

Installing git on windows 10 guide install#

  • To Install Git on Windows, you just need to head over to the URL mentioned below.
  • In the last tutorial, we discussed what is git and now we will discuss about installing git on windows machine.

    Installing git on windows 10 guide how to#

    If you received an error that said Access denied for user (using password: NO) then you need to update your config/database.yml file to match the database username and password.Twitter Facebook LinkedIn Buffer Reddit Tumblr How to Install Git on Windows Operating System Now that you've got your machine setup, it's time to start building some Rails applications! You can now visit to view your new website! # config/database.yml file to contain the username/password that you specified # If you setup MySQL or Postgres with a username/password, modify the # Then, move into the application directory # or if you want to use SQLite (not recommended) # as your app, you may need to edit config/database.yml to match the # Note that this will expect a postgres user with the same username # Create a code directory at C:\code for your Rails apps to live (You only need to do this once) Do this every time you open the Linux console. Let's create your first Rails application: # Navigate to the C: drive on Windows. This is actually the C: drive on Windows and it lets you use Sublime, Atom, VS Code, etc on Windows to edit your Rails application.Īnd now for the moment of truth. The best place to develop Rails apps on the Windows Subsystem for Linux is to navigate to `/mnt/c`. When you're finished, you can skip to the Final Steps. Installing the libmysqlclient-dev gives you the necessary files to compile the mysql2 gem which is what Rails will use to connect to MySQL when you setup your Rails app. sudo apt-get install mysql-server mysql-client libmysqlclient-dev This information will go into your Rails app's database.yml file in the future. As part of the installation process, you'll set the password for the root user. You can install MySQL server and client from the packages in the Ubuntu repository. If you're coming from PHP, you may already be familiar with MySQL. If you're new to Ruby on Rails or databases in general, I strongly recommend setting up PostgreSQL. There is a lot of documentation on both, so you can just pick one that seems like you'll be more comfortable with. You'll probably want something more robust like MySQL or PostgreSQL. Chances are you won't want to use it because it's stored as a simple file on disk. Rails ships with sqlite3 as the default database.

    installing git on windows 10 guide

    Rbenv users need to run rbenv rehash after installing bundler. The last step is to install Bundler gem install bundler To install Ruby and set the default version, we'll run the following commands:Ĭonfirm the default Ruby version matches the version you just installed.

    installing git on windows 10 guide

    First you install rbenv, and then ruby-build:Įcho 'export PATH="$HOME/.rbenv/bin:$PATH"' > ~/.bashrcĮcho 'eval "$(rbenv init -)"' > ~/.bashrcĮcho 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' > ~/.bashrc

    installing git on windows 10 guide

    Installing with rbenv is a simple two step process. Next we're going to be installing Ruby with a version manager called Rbenv. Sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev The first step is to install some dependencies for Ruby.







    Installing git on windows 10 guide