Git Product home page Git Product logo

blogsource's People

Contributors

parkr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

blogsource's Issues

script/ directory blog post

GitHub talks about this a lot, and I've developed my ideas around it.

Bootstrapping

Bootstrapping is the process of installing dependencies for your project, loading in necessary data, and compiling stuff. The end result of bootstrapping is a project that is fully ready to develop. To bootstrap, you run:

$ script/bootstrap

Tests

Tests are critical to a stable codebase. To run the tests, you can use this simple incantation:

$ script/test
$ script/test unit # just the unit tests
$ script/test integration # just the integration tests

CI Build

Continuous Integration (and the consequent concept of continuous deployment) is useful for swift feedback during development. It runs all your tests in a controlled environment to ensure that everything is kosher and nothing (that is tested) has broken. To run a CI build, run:

$ script/cibuild

Spinning Up a Server

Need to spin up a server? No problem, just run:

$ script/server

Project-Specific Scripts

Some projects require scripts specific to their needs. They should be named generically so that other projects can easily conform to these scripts' naming conventions. These can be easily integrated into other scripts, where needed (e.g. in script/bootstrap). Some examples:

$ script/compile # compile all your assets or what have you
$ script/restore-dev-data # restore the local database with pre-created development data

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.