Giter Club home page Giter Club logo

sdd-farmers's Introduction

Harvest Here

Forming community connections to support the local food movement.

Getting Started

Requirements:

  • Python 3.5
  1. Create a virtual environment for this project with the command virtualenv sdd-venv.
  2. User this virtual environment via the command: source sdd-venv/bin/activate. If successful, your terminal will now say (sdd-venv) at the beginning of each line.
  3. Install all of the required packages and extensions, sudo pip3 install -r requirements.txt, from within your Harvest Here directory containing the requirements.txt file (where you will be if you've followed the instructions up to this point). This will take several minutes.
  4. Change to the "market" directory, cd market.
  5. Run the following two commands to get the database ready to go. python3 manage.py makemigrations python3 manage.py migrate
  6. Everything should be ready! All that's left is to run the server via the command python3 manage.py runserver and the site will be available at http://localhost:8000.

Useful Commands

  • Run the server!
$ python3 manage.py runserver
  • Initialize your database, or apply migrations.
$ python3 manage.py migrate
  • Delete everything in your database.
$ python3 manage.py flush
  • Create a new app. First create the necessary folder inside apps.
$ mkdir market/apps/<app_name>

Then create the app.

$ python3 manage.py startapp <app_name> ./market/apps/<app_name>

sdd-farmers's People

Contributors

klingj3 avatar

Watchers

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