Resolve missing .gitignore for imported Solution Templates

After importing a Solution Template from the Local Marketplace please proceed the following steps manually:

Low-Code Solution

  • Clone the solution
  • Check, if any of the files or directories mentioned in the following .gitignore content exists, if so
    • Delete these files and directories
    • Commit this changes
  • Create a .gitignore file in the folder of the cloned solution with the following content:
    # Logs
    logs
    *.log
    npm-debug.log*
    yarn-debug.log*
    yarn-error.log*
    
    # Runtime data
    pids
    *.pid
    *.pid.lock
    
    # Coverage directory used by tools like istanbul
    coverage
    
    # nyc test coverage
    .nyc_output
    
    # Dependency directories
    node_modules/
    sdk
    sdk-debug
    
    # Temporary Files
    .cache
    tmp
    dist
    artifacts
    
    # IDE Support
    .vscode
    .idea/dictionaries
    .idea/httpRequests
    .idea/**/workspace.xml
    .idea/**/tasks.xml
    .idea/usage.statistics.xml
    .idea/jsLinters/*
    
    # Project Configuration, currently provided by the code generator
    knowis-config.yml
    tsconfig.json
    tslint.json
  • Commit and Push the changes

Custom-Code Solution

  • Clone the solution
  • Check, if any of the files or directories mentioned in the following .gitignore content exists, if so
    • Delete these files and directories
    • Commit this changes
  • Create a .gitignore file in the folder of the cloned solution with the following content:
    # .gitignore template
    
    # Compiled class file
    *.class
    
    # IDE files
    target/
    bin/
    tmp/
    .settings/
    .classpath
    .metadata
    .project
    .idea
    .vscode/
    *.jpage
    
    # Java annotation processor (APT)
    .factorypath
    
    *.tmp
    *.bak
    *.swp
    *~.nib
    local.properties
    
    # Log file
    *.log
    
    # Package Files #
    *.war
    *.ear
    *.jar
    
    # virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
    hs_err_pid*
    
    # OS
    .DS_Store
  • Commit and Push the changes