NETCORESAAS
  • Welcome
  • Getting Started
    • Getting started
      • Frontend
      • Backend + Frontend
    • Deploy
      • Initialize git repository
      • Deploy to heroku
    • Environment variables
    • API
      • Controllers
    • Testing
      • Integration Tests
  • Other
    • Installing
      • 1. Install VSCode
      • 2. Install .NET Core SDK
      • 3. Install Node.js
      • 4. Test installation
    • Integrations
      • Stripe
        • Subscription Options
        • Getting the API Keys
        • Creating Stripe Products
        • Creating the Customer Portal
      • Email
        • SMTP
        • Postmark
      • Social Login
        • Google Sign In
      • Conversations
        • Intercom
        • Drift
  • Blog
Powered by GitBook
On this page

Was this helpful?

  1. Getting Started
  2. Deploy

Initialize git repository

Open the terminal at the base directory and type:

git init
git remote add origin https://github.com/You/your-repository.git
git add .
git commit -am "initial"
git push origin master

If your repository is not empty, first pull changes or your push will be rejected. Run this before pushing:

git pull origin master

PreviousDeployNextDeploy to heroku

Last updated 4 years ago

Was this helpful?