$ git clone [email protected]:BridgeCityBicycleCoop/workstand.git
$ cd workstand
$ brew install pyenv
$ brew install pipenv
$ brew install openssl
might not be required, but important if you have mac os$ pyenv install 3.6.6
$ pipenv install --python 3.6.6 --dev
$ pipenv shell
$ npm install
$ ./manage.py migrate
$ ./manage.py loaddata fixtures.yaml
$ ./manage.py runserver
$ npm start
open a new terminal session to run this in workstand/bikeshop_project- Visit http://localhost:8000/
- Login with
u: [email protected]
andp: bike!bike!
$ cd workstand/bikeshop_project
$ ./manage.py run server
$ npm start
open a new terminal session to run this
This is needed for the experimental bike-inventory feature.
- Docker
./manage.py runworker -v3 --settings bikeshop.settings.development check-cpic
Requirements
- npm
- pyenv (>= 1.2.11)
- pipenv (>= 2018.11.26)
zipimport.ZipImportError: can't decompress data; zlib not available
- Looks like you are missing headers in Mac Os. Following the solution provided in this StackOverflow solution.