Skip to content

MandelaK/ourcommerce

Repository files navigation

Build Status codebeat badge Maintainability Test Coverage Coverage Status

Welcome to ourCommerce. This is an ecommerce platform that contains a broad API and lots of features in the pipeline.

Setting Up

  • Clone repo
  • Create a virtual environment and make sure to use python 3.6. Run command virtualenv venv --python=python3.6
  • Install dependencies by running pip install -r server/requirements.txt
  • Populate your environment variables by running cp server/.env.sample server/.env and filling your server/.env file with proper values.
  • Set up your Postgres DB and run migrations using python server/manage.py migrate
  • Start the backend API by running python server/manage.py runserver

Testing

  • Ensure to populate and source your server/.env file.
  • Simply run tox

Contributing

License