Skip to content

Membership sign-in web application for the Bridge City Bicycle Co-operative.

License

Notifications You must be signed in to change notification settings

BridgeCityBicycleCoop/workstand

Repository files navigation

Workstand

Quick Install (Project Setup)

  1. $ git clone [email protected]:BridgeCityBicycleCoop/workstand.git
  2. $ cd workstand
  3. $ brew install pyenv
  4. $ brew install pipenv
  5. $ brew install openssl might not be required, but important if you have mac os
  6. $ pyenv install 3.6.6
  7. $ pipenv install --python 3.6.6 --dev
  8. $ pipenv shell
  9. $ npm install
  10. $ ./manage.py migrate
  11. $ ./manage.py loaddata fixtures.yaml
  12. $ ./manage.py runserver
  13. $ npm start open a new terminal session to run this in workstand/bikeshop_project
  14. Visit http://localhost:8000/
  15. Login with u: [email protected]and p: bike!bike!

Quick Start

  1. $ cd workstand/bikeshop_project
  2. $ ./manage.py run server
  3. $ npm start open a new terminal session to run this

Enable Async Tasks

This is needed for the experimental bike-inventory feature.

Requirements

  1. Docker

Start a worker process

  1. ./manage.py runworker -v3 --settings bikeshop.settings.development check-cpic

Requirements

  1. npm
  2. pyenv (>= 1.2.11)
  3. pipenv (>= 2018.11.26)

Depency Problems

  1. zipimport.ZipImportError: can't decompress data; zlib not available