Azure Github

5 min Azure Functions compute with powershell 4 Github Actions

https://learn.microsoft.com/en-us/azure/azure-functions/functions-how-to-github-actions?tabs=python 1 Create repos az-func-git-actionsgit@github.com:spawnmarvel/az-func-git-actions.git 2 Clone with cli 3 Make the function project and function 4 Visit URL http://localhost:7071/api/coinfun01prod 5 Push with cli Make the function app same as qa but add deployment But error https://github.com/shigeyf/ai-digitalmedia/issues/6 Installation failure – “Cannot find SourceControlToken with name GitHub” This error occurs due to connecting Github to multiple […]

5 min Azure Functions compute with powershell 4 Github Actions Read Post »

ARM Github

TODO ARM Actions MS (CI/CD)

CI/CD Workflow Deploy credentials Configure secret Add ARM Template Create workflow The workflow is trigger when there is a push event on the main branch, which modifies at least one of the two files specified. Workflow status https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/deploy-github-actions

TODO ARM Actions MS (CI/CD) Read Post »

Github

Git pull request

https://opensource.com/article/19/7/create-pull-request-github Account donaldtest fork the repos from spawnmarvel: https://github.com/donaldtest/powershellcode git clone https://github.com/request-user/demo cd foldergit checkout -b new_branch git remote add upstream https://github.com/fork-user/demo Now you can make changes to the code. Once you push the changes to your repo, the Compare & pull request button will appear in GitHub. Click Compare & pull request Open a

Git pull request Read Post »

Github Python

Python Development in Visual Studio Code

https://realpython.com/python-development-visual-studio-code/ (Real Python and Jon Fincher tutorial) In this article, you’ll learn about Python development in Visual Studio Code, including how to: Install Visual Studio Code Discover and install extensions that make Python development easy Write a simple Python application Learn how to run and debug existing Python programs in VS Code Connect Visual Studio

Python Development in Visual Studio Code Read Post »

Github Python Solr

Apache Solr 7.5 Index build with DirectUpdateHandler2 HTTP (with delete index)

http://lucene.apache.org/solr/guide/7_5/uploading-data-with-index-handlers.html Index Handlers are Request Handlers designed to add, delete and update documents to the index. In addition to having plugins for importing rich documents using Tika or from structured data sources using the Data Import Handler, Solr natively supports indexing structured documents in XML, CSV and JSON. The default in solrconfig.xml is an UpdateHandler:

,

Apache Solr 7.5 Index build with DirectUpdateHandler2 HTTP (with delete index) Read Post »

Github Python

pywinservice, running a simple Python script as a windows service

pywinservice, running a simple Python script as a windows service Code: https://github.com/spawnmarvel/pywinservice Make a virtualenv, store your code there. Make a run.py file, in that file you can start / call a database, a webcrawler, http, mail or whatever code you want to execute. When you are done with coding your scripts, test this: Make

pywinservice, running a simple Python script as a windows service Read Post »

Github Sql

Django database API migrations and models 101

Django API Once you’ve created your data models, Django automatically gives you a database-abstraction API that lets you create, retrieve, update and delete objects. This document explains how to use this API. Refer to the data model reference for full details of all the various model lookup options. https://docs.djangoproject.com/en/2.0/topics/db/queries/ So our testmodel is a simple

Django database API migrations and models 101 Read Post »

Github

Github 101 + SSH

Collaborate with Git – Training | Microsoft Learn Commit and push to a newly created repository: https://git-scm.com/docs Navigate to folder with git cmdAdd the files in your new local repository. This stages them for the first commit.Commit the files that you’ve staged in your local repository.At the top of your GitHub repository’s Quick Setup page,

Github 101 + SSH Read Post »

Scroll to Top