Git Product home page Git Product logo

bluegarden_project's Introduction

BlueGarden_Project

This is a Flask Project and is being developed as part of a Course Assignment.

Current Functions:

  • Login
  • Registration
  • Logout

bluegarden_project's People

Contributors

cjar7870git avatar cruxyoung avatar jbhewitt12 avatar mmoh4187 avatar nanoha25 avatar sathwiks29 avatar shawshank718 avatar singarisathwik avatar whwong-sit avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

bluegarden_project's Issues

Track Activities Feature

The user may record activities which occur on a field of a farm they work on.
A resource use and date is recorded with the activity and if the activty is a harvest then the user will be redirected to add the crop harvest to the produce section for sale.

Farmer-defined Processes for Crops

Farmer should be able to define their own process for a crop. This should capture a schedule of activities that are required to produce the crop.

Could each python file adds a description?

I want to reuse some code to help my own work.
But I am confused about those python files. I have no idea which file does what without reading all code first.
Would anyone mind adding descriptions to better explain which file does which part of work?

Secret Key in config.py

How nice of you to commit and reveal the secret key in the repository and open our system to hacks.
Consider how to do this in Production and Dev settings.

Exception thrown in add_produce BDD test

An Exception is thrown when running the behave test in features/add_produce.feature

stack trace:
i.e. Error on request:
Traceback (most recent call last):
File "/Users/whwong/repos/teaching/info9117/asgn/asgn_env/lib/python3.5/site-packages/werkzeug/serving.py", line 193, in run_wsgi
execute(self.server.app)
File "/Users/whwong/repos/teaching/info9117/asgn/asgn_env/lib/python3.5/site-packages/werkzeug/serving.py", line 181, in execute
application_iter = app(environ, start_response)
File "/Users/whwong/repos/teaching/info9117/asgn/asgn_env/lib/python3.5/site-packages/flask/app.py", line 1836, in call
return self.wsgi_app(environ, start_response)
File "/Users/whwong/repos/teaching/info9117/asgn/asgn_env/lib/python3.5/site-packages/flask/app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/Users/whwong/repos/teaching/info9117/asgn/asgn_env/lib/python3.5/site-packages/flask/app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "/Users/whwong/repos/teaching/info9117/asgn/asgn_env/lib/python3.5/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/Users/whwong/repos/teaching/info9117/asgn/asgn_env/lib/python3.5/site-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/Users/whwong/repos/teaching/info9117/asgn/asgn_env/lib/python3.5/site-packages/flask/app.py", line 1478, in full_dispatch_request
response = self.make_response(rv)
File "/Users/whwong/repos/teaching/info9117/asgn/asgn_env/lib/python3.5/site-packages/flask/app.py", line 1566, in make_response
raise ValueError('View function did not return a response')
ValueError: View function did not return a response

Create a requirements.txt for pip

Formulate a requirements.txt file for pip3 to automatically install project library dependencies.
i.e.
pip2 install -r bluegarden_requirements.txt

consider different requirements for dev, testing and production.

bluegarden.db in repository

bluegarden.db is committed to the repository. This tracks local changes to the repository.
Look to remove it from the repository

Refactor test.py

All unit tests are currently thrown into test.py.
Consider reorganising this into a test directory of multiple test files

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.