GithubHelp home page GithubHelp logo

oborys / code-exchange-repo-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ciscodevnet/code-exchange-repo-template

0.0 1.0 0.0 1.49 MB

Template for creating a repo for software related to Cisco technologies to be shared with the DevNet community via Code Exchange

Home Page: https://developer.cisco.com/codeexchange/

License: BSD 3-Clause "New" or "Revised" License

code-exchange-repo-template's Introduction

Code Exchange Repo Template

This repository is a template to be used when creating a new repository containing sample code, a sample application, or some other software related to Cisco technologies and to be made available for use by the Cisco DevNet community through Code Exchange and/or Automation Exchange.

Instructions

You have two options, if you have familiarity with Python, use the cookiecutter steps. Otherwise you can manually create a copy of this repo template.

Cookiecutter Automated Repo Creation

This process uses cookiecutter to auto-generate the files for you. This is helpful if you create multiple use cases.

Note: This template assumes the BSD 3-Clause License, you can change it be other licenses afterwards if that is not what you want.

  1. Issue this command pip install cookiecutter to get ready to use the template.
  2. Use this command and answer the questions: cookiecutter https://github.com/CiscoDevNet/code-exchange-repo-template
  3. Update the README, replacing the contents below as described in text within each section of the README. Feel free to combine or omit sections where appropriate.
  4. Update the LICENSE, replacing the file with the license selected for your code. See the Licensing info section of this README for more info.
  5. Delete these instructions and everything up to the Project Title from the README.
  6. Write some great software and submit it to Code Exchange and/or Automation Exchange.

Example

use-cases$ cookiecutter https://github.com/CiscoDevNet/code-exchange-repo-template
project_name [my-awesome-devnet-code-exchange-project]: my-first-project
project_description [baseline DevNet Code Exchange Project]: New Things to come!
author_name [Your Name Here]: User Name
author_email [[email protected]]: [email protected]
use-cases$ tree
devnet-code-exchange/              my-first-project/
cookiecutter-devnet-code-exchange/ 
use-cases$ tree my-first-project/
my-first-project/
├── LICENSE
├── NOTICE
└── README.md

0 directories, 3 files
use-cases$

Manual Repo Creation

If you are only creating one use case, this process is probably easier.

  1. Create a new repository.
  2. Copy all the files inside manual-sample-repo into your new repository.
  3. Update the README, replacing the contents below as described in text within each section of the README. Feel free to combine or omit sections where appropriate.
  4. Update the LICENSE, replacing the file with the license selected for your code. See the Licensing info section of this README for more info.
  5. Delete these instructions and everything up to the Project Title from the README.
  6. Write some great software and submit it to Code Exchange and/or Automation Exchange.

code-exchange-repo-template's People

Contributors

agentlecisco avatar eckelcu avatar haihxiao avatar jabelk avatar juliogomez avatar klevenstein avatar oborys avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.