GithubHelp home page GithubHelp logo

oliver-be / cookiecutter-empirical-project Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devosoft/cookiecutter-empirical-project

0.0 0.0 0.0 291 KB

A template for creating a new Empirical-based project

Home Page: https://devosoft.github.io/cookiecutter-empirical-project

License: MIT License

Makefile 35.23% Python 31.88% Batchfile 5.09% C++ 7.86% HTML 19.94%

cookiecutter-empirical-project's Introduction

Cookiecutter Empirical Project

Travis CI badge

Cookiecutter template for an Empirical Project.

An offshoot of the Empirical C++ Library.

Features

  • Travis-CI: Ready for Travis Continuous Integration testing.
  • Github Pages: Auto-deploy your web application (like this).
  • Sphinx docs: Documentation ready for generation and deployment with, for example, ReadTheDocs.
  • Bumpversion: Pre-configured version bumping with a single command.

Quickstart

Install the latest Cookiecutter if you haven't installed it yet::

pip install -U cookiecutter

Generate an Empirical project:

cookiecutter https://github.com/devosoft/cookiecutter-empirical-project.git

Get set up a repo on Github & make some git goodness happen:

cd your-cut-project
git init
git add .
git submodule add https://github.com/philsquared/Catch.git third-party/Catch
git submodule add -b master https://github.com/devosoft/Empirical.git third-party/Empirical
git commit -m "Initial commit"
git submodule init
git submodule update
git remote add origin [email protected]:yourusername/your-cut-project.git
git push origin master

‼️ Want to track a particular Empirical commit instead of the master branch? Just omit -b master above.

Take it for a spin!

make test

Then:

  • If you haven't already, link your GitHub account to Travis CI.
  • The repo might start building on Travis automatically, but if it doesn't add it manually.
  • To enable automatic GitHub pages deployment, store a secret GithHub access token to the Travis-CI environment variable GH_TOKEN.
    1. Generate a new GitHub personal access token.
    • Select the repo (Full control of private repositories) scope.
    • ‼️ Be sure to keep a copy on hand for the next step!
    1. echo GH_TOKEN=my_github_token | travis encrypt --no-interactive --com --add
    1. git add .travis.yml -m "Add GH_TOKEN var to Travis env" && git push origin master
    2. Once Travis builds, your site should deploy to https://yourusername.github.io/your-cut-project.
    • ℹ️ Travis will push a gh-pages branch to your repo. No touchy. Just leave it be!
    1. (If your page doesn't auto-deploy, you might have to manually activate Github Pages in your repo settings.)
  • Canonical reference RE: storing a personal access token on Travis here.
  • Add the repo to your ReadTheDocs account + turn on the ReadTheDocs service hook.

cookiecutter-empirical-project's People

Contributors

mmore500 avatar rodsan0 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.