Multi-Prêts Hypothèques

L’équipe Mathieu Lebrun

Netlify

Temps estimé :3 minutes 200 views

Creating your Git Repo

Create a new repository on GitHub. This could be performed using GitHub Desktop however, for the purposes of this guide, we will utilise the command line.

To avoid errors, do not initialize the new repository with README, license, or gitignore files. You can add these files after your project has been pushed to GitHub.

Open Terminal (for Mac users) or the command prompt (for Windows and Linux users).

For our purposes, let’s call your new repo “jekyll”.

In the terminal, whilst in your site directory, initialize the directory as a Git repository:

$ git init

Add the files in your new local repository. This stages them for the first commit:

$ git add .

Commit the files that you’ve staged in your local repository:

$ git commit -m 'First commit'

At the top of your GitHub repository’s Quick Setup page, click the clipboard icon to copy the remote repository URL.

In Terminal, add the URL for the remote repository where your local repository will be pushed.

git remote add origin [your_Git_repository_URL]

Now, it’s time to push the changes in your local repository to GitHub:

git push -u origin master

Now that your assets are up and running on GitHub, let’s connect them to Netlify.

Connecting to Netlify

Once you log in to Netlify, you’ll be taken to https://app.netlify.com/. From here, select ‘New site from Git’:

Clicking “New Site” brings you to this screen:

Whenever you push an update to GitHub (or GitLab/BitBucket), Netlify will automatically deploy your updates and changes!
Since your assets are hosted on your Git provider, you’ll need to link Netlify to that provider. Follow the steps within the UI to link your account.

It’s time to allow Netlify and GitHub to talk to each other. Clicking the “Authorize Application” button will do just that. Netlify doesn’t store your GitHub access token on our servers. If you’d like to know more about the permissions Netlify requests and why we need them, you can visit https://www.netlify.com/docs/github-permissions/.

Now that you’ve connected Netlify and GitHub, you can see a list of your Git repos. There’s the “jekyll” repo you just pushed to GitHub. Let’s select it.

You now have the option to configure your deploy settings. For the purposes of this tutorial, the default parameters gathered by Netlify are appropriate. Click “Save”.

That’s almost it! Now, you can kick back and wait a couple of moments until Netlify does its thing.

And there we have it! That’s it. Done. Your site has now been deployed to Netlify along with a Netlify subdomain. From here, you’re free to add your own custom domain and explore what else Netlify can do!

Leave a Comment

Share this Doc

Netlify

Or copy link

CONTENTS

    Équipe Mathieu Lebrun

    3 étapes simples pour recevoir la meilleure offre de votre courtier hypothécaire

    1. Remplissez votre application en moins de 1 minute
    mail
    2. Recevez vos offres en moins de 24 heures
    3. Choisissez l’offre qui vous convient le mieux

    ou

    Les institutions financières partenaires

    Elles nous font confiance

    Nos Bureaux

    Ouest de Montréal
    2892 boulevard Saint-Charles
    Kirkland (Québec) H9H 3B6
    F : 514 906-7011
    Lasalle
    7655 boulevard Newman, bureau 306
    Lasalle (Québec) H8N 1X7
    F : 514 879-8927
    Vaudreuil-Soulanges
    180, avenue Saint-Charles
    Vaudreuil-Dorion (Québec) J7V 2L1

    F : 1 888 769-7464

    Obtenez les meilleurs taux sur le marché

    En date du 13/07/24
    Taux
    hypothécaire du jour
    Taux
    Multi-Prêts