Giter VIP home page Giter VIP logo

status_page's Introduction

A sample library setup. This provides a good foundation for building a re-usable library.

Note: Assume all commands in this document start from the root of the repository.

Initial setup

Create a virtualenv

In order to use your package and run the test, you will want the package installed in the local environment.

First, create a virtualenv.

virtualenv venv

Whenever you work on the library, you will need to activate the virtualenv.

source venv/bin/activate

You will also want to configure the virutalenv to look for packages from the internal artifactory.

Put the following in your venv/pip.conf

[global] index-url = http://yum-1-001.shared.adm.las1.mz-inc.com:8081/artifactory/api/pypi/pypi-virtual/simple trusted-host = yum-1-001.shared.adm.las1.mz-inc.com

You can also put that into your home folder to configure pip for your user globally. Just put that into ~/.pip/pip.conf

Install the git hooks

In the .git directory, remove the existing hooks/ directory and link the hooks directory in the repo.

rm -r hooks/
ln -s ../hooks .~~~~

General Running
===============

You will want the package installed into your local environment for testing and development. Install the package
as editable with

`pip install -e .[dev]`

This will install the package so that it is importable, but installed in a way that the code that you

status_page's People

Contributors

rbrowne-mz avatar mz-zboerner avatar

Watchers

 avatar James Cloos avatar  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.