Giter Club home page Giter Club logo

xcore_template's Introduction

XCore Template HOWTO

This repository provides a template for new repositories on the XCore open source github repository site. To create a new repository using this template use the following steps.

You can use these steps to create a local project to start coding your own stuff. Later you may create an empty repository on the XCore open source github site (see https://github.com/xcore/Community/wiki/Repository-management on how to do this) to share this with the world.

Requirements

  • Git installed locally
  • Python installed locally (version 2.7)
  • An new empty github repository
  • A github account with ssh keys generated (see "Generate a Keypair" at http://help.github.com/)

Steps for creating a new repository/project

  1. Create a working directory (or use an existing one with other repositories in).

  2. If it does not already exist, clone the xcommon repository from github:

    git clone ssh://[email protected]/xcore/xcommon.git
    
  3. Clone the xcore_template repository from github:

    git clone ssh://[email protected]/xcore/xcore_template.git
    
  4. Use the rename_repository script to rename xcore_template to your repository name. Run this script from the working directory above the xcore_template directory. For example to change the name to my_repo:

    python xcommon/util/rename_repository.py xcore_template my_repo
    
  5. You can now change into the new my_repo directory:

    cd my_repo
    

    this will have its origin pointing at xcore/my_repo on github.

  6. Either copy/modify the app_template, plugin_template and module_template directories to contain the source code for the apps, modules and plugins of the repository. Or copy in existing apps and modules from elsewhere. Make sure that any copied in directories have Makefiles/module_build_infos in a similar form to the template examples. Pay particular attention to the include part of an application Makefile. It should look like this:

    -include ../module_xcommon/build/Makefile.common
    -include ../../xcommon/module_xcommon/build/Makefile.common
    
  7. Once you have your specific modules set up you can remove the template directories.

  8. Code away.

  9. If you want to sync this with an XCore open source repository you need to request a new repo with the same name (see https://github.com/xcore/Community/wiki/Repository-management on how to do this) to share this with the world.Now you can stage all the new files and do the repositories first commit and push it to a newly created github repo with the same name. You can do that like this:

    git add -A
    git commit -am "First commit"
    git push -u origin master
    
  10. Now you can remove this README.rst file, rename the README_template.rst file to README.rst, and fill in the blanks. Use git commit and git push as normal.

xcore_template's People

Contributors

henkmuller avatar mlippett avatar

Stargazers

Jagadish Paul avatar

Watchers

Jagadish Paul 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.