MTJ Data Analytics Logo MTJ Data Analytics Logo MTJ Data Analytics
  • Home
  • Services
  • Make Payment
  • Webinars
  • Why Choose Us
  • Contact

NETLIFY DEPLOYMENT - QUICK GUIDE

Method 1: Drag & Drop (5 minutes - NO coding)

  1. Build website locally:
    • Install Quarto: https://quarto.org/docs/get-started/
    • Run in terminal: quarto render
    • This creates a docs/ folder
  2. Deploy to Netlify:
    • Go to: https://app.netlify.com/drop
    • Drag the docs/ folder onto the page
    • Done! Your site is live at yourname.netlify.app
  3. Custom domain (optional):
    • Site settings → Domain management → Add custom domain
    • Update DNS at your domain provider (CNAME to yoursite.netlify.app)

To update: Rebuild locally, drag new docs/ folder to Netlify


Method 2: GitHub + Auto-Deploy (Recommended)

  1. Push to GitHub:

    git init
    git add .
    git commit -m "Initial commit"
    git remote add origin https://github.com/yourusername/mtj-website.git
    git push -u origin main
  2. Connect Netlify:

    • Log in to Netlify
    • “New site from Git” → Choose GitHub
    • Select your repository
    • Build settings:
      • Build command: quarto render
      • Publish directory: docs
    • Click “Deploy site”
  3. Auto-deployment:

    • Push to GitHub → Netlify auto-rebuilds
    • No manual uploads needed

To update: Push changes to GitHub


Method 3: Netlify CLI (Advanced)

# Install
npm install -g netlify-cli

# Login
netlify login

# Deploy
netlify deploy --prod

Custom Domain Setup

At Netlify: - Site settings → Domain management → Add custom domain - Enter: www.mtjdataanalytics.com

At your domain provider (e.g., Namecheap, GoDaddy): Add DNS records:

Type: CNAME
Name: www
Value: yoursite.netlify.app

Type: A (for apex domain @)
Name: @
Value: 75.2.60.5

SSL: Automatic (Let’s Encrypt) - enable in Domain settings

DNS Propagation: 24-48 hours


Troubleshooting

Build fails: - Check netlify.toml is included - Verify all .qmd files are present

404 errors: - Ensure publish directory is “docs” - Check all files uploaded

Custom domain not working: - Wait 24-48 hours for DNS propagation - Check DNS records are correct - Test: https://dnschecker.org


File Checklist

Make sure you have: - ✅ All .qmd files - ✅ _quarto.yml - ✅ styles.css - ✅ custom.scss - ✅ netlify.toml


Support: info@mtjdataanalytics.com | +234 901 944 1200

Contact Us
📧 info@mtjdataanalytics.com
📱 +234 901 944 1200
📍 No. 4, Commercial Area, University of Maiduguri, Borno State

Technologies We Use
STATA • SPSS • EpiInfo • SAS
R • Python • PowerBI • Shiny • Google Looker

© 2025 MTJ Data Analytics
All Rights Reserved