Giter Site home page Giter Site logo

food-coop's Introduction

Serverless website for food co-op

Instructions to setup local enviornment:

1. Get python 2.7 and pip

2. Clone this repo

3. Get virtualenv and source into your new virtual enviornment

  • Open up a terminal and run pip install virtualenv
  • Then use the cd command to change into the directory that you just cloned the repo into
  • Then run virtualenv --no-site-packages venv
  • Then run source venv/bin/activate or source venv/Scripts/activate on Windows

4. Run pip install -r requirements.txt

Next step only if you're a dev

5. Install and configure AWS CLI

  • Run pip install awscli
  • Run aws configure
  • Fill out the prompted info (ask mkerrig for info)

If you're not a dev, but want to change how the site looks:

1. Change the necessary HTML and other static files in templates/ and static/

  • Test the your local version of the site by running python food_coop.py then open http://127.0.0.1:5000/ in your browser
  • Put all new static files in static, otherwise uploads won't work
  • To upload static files to our S3 bucket that you are referring to in the HTML run python upload_static_resources.py
  • Make the source links in the following format: static/INSERT-FILENAME-HERE

2. Make a pull request to this repo so I can upload your changes to the live site

Live site is up at: https://www.bestfoodforward.org/


Style Guide: Original Blue: #45aed6

New Deep Green: #488f0d Accent Bright Green: #66cf34 New Golden Yellow: #fccc06

Collection -> https://unsplash.com/collections/483597/food-really-local Basket - https://unsplash.com/photos/ZKNsVqbRSPE Peppers - https://unsplash.com/photos/vYMRkFYQq-M Spices - https://unsplash.com/photos/M3M7D7LZ_n0 Tomato - https://unsplash.com/photos/zdunBSAi3P0 Strawberry - https://unsplash.com/photos/BchYMYL9UKQ

food-coop's People

Contributors

coreykeyser avatar piratetone avatar mkerrig avatar

Watchers

James Cloos avatar  avatar  avatar AJ Wildridge avatar  avatar

Forkers

awildridge

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.