Welcome to ourCommerce. This is an ecommerce platform that contains a broad API and lots of features in the pipeline.
- 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/.envand filling yourserver/.envfile 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
- Ensure to populate and source your
server/.envfile. - Simply run
tox