Code Monkey home page Code Monkey logo

project-template's Introduction

Project template

Usage

This is a reusable project template. To use it:

  1. Create a fork of the repository
  2. Adjust this README and the wiki
  3. Update the dvc remote in .dvc/config and push existing files
  4. Remove test data and module
  5. (Optional) Enable the automatic synchronization with a LaTeX/overleaf mirror repo:
    1. Create a mirror repo on GitHub (e.g., project-template-latex), ticking the box “Add a README file” to create an initial commit
    2. Generate and save an access token for the mirror repo: (Account) Settings → Developer Settings → Personal access token → Generate new token
      • Expiration → select date far in future
      • Only selected repositories → Select the new mirror repo
      • Permissions → Contents: Read and write
    3. Set two secrets in the main (i.e., this) repo: (Repository) Settings → Secrets and variables → Actions → New repository secret
      1. LATEX_REPOSITORY: your_mirror_repo (e.g., csemken/project-template-latex)
      2. LATEX_TOKEN: your_token (e.g, github_pat_...)
    4. Make a change and push it to the main repo
    5. Import the project on overleaf: New project → Import from GitHub → your_mirror_repo → Import to Overleaf
    6. Set the main document: Menu → Main document → paper.tex

File structure

analysis       # code for data analysis
└── *          # module
bin            # maintenance scripts
config         # configuration files
data           # data
├── raw        # raw input data
│   └── *      # source
├── input      # input data
│   └── *      # module
├── output     # output data
│   └── *      # module
└── release    # publication output
paper_slides   # tex code
├── release    # -> /data/release/
└── *          # manually created assets

Getting started

The manual in the wiki explains the general setup. The analysis setup is explained in analysis/README.md.

project-template's People

Contributors

csemken 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.