Git Product home page Git Product logo

copyright-license's Introduction

Code the Change: Copyright-License Project

Team Information

Setup Instructions

Follow the instructions in the Wiki for how to setup your dev environment.

Running the app locally

  1. Activate the virtual environment
  • Windows (using Git Bash): source env/Scripts/activate
  • Windows (using Command Prompt): env\Scripts\activate
  • Mac OSX / Linux: source env/bin/activate
  1. Run heroku local
  • I sometimes have issues running heroku local on my on Windows laptop. In this case, try python run.py. You may have to use Option 2 above to set up the configuration variables. Just be sure to never commit the API keys to our repo.
  1. Open up your web browswer and go to http://localhost:5000

Making Changes to the App

  1. Pull the latest changes into your local master branch
  • git checkout master and git pull
  1. Checkout your own branch if you have one, or create a new branch if you don't.
  • Creating a new branch: e.g. git branch chris-dev
  • Switching branches: e.g. git checkout chris-dev
  • Merge in the latest changes from the master branch: git merge master
  1. Make changes to the app.
  2. Check that it works locally. See section "Running the app locally" above.
  3. Commit the changes with an appropriate description
  • Select files from your working directory with git add [FILENAME]
  • Commit the files: git commit -m [COMMIT DESCRIPTION]
  1. Push to your branch on GitHub: git push origin
  2. Submit a pull request on GitHub to merge your changes into the master branch.
  3. Once someone has reviewed your changes and merged them into master, pull the latest changes to master: git checkout master and git pull
  4. Push to Heroku: git push heroku master
  5. Check to make sure that it works on our live Heroku app: copyright-license.herokuapp.com. If there are any errors, check the logs: heroku logs --tail

Managing the Database

Check the Wiki page here

Stripe Integration

Random Useful Stuff

Check the Wiki page here

Troubleshooting

  • virtualenv seems to be not working?
    • Have you renamed the virtualenv folder recently? If so, you have to re-setup the virtualenv directory.

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.