This is a web application for Shopify Backend Developer Intern Challenge - Summer 2022.
I use Django to complete CRUD functionality. Additional functionality I choose is - Pushing a button export product data to a CSV.
I use macOS, so the instructions will be UNIX based.
- Activate virtual environment. After pulling the repo,
source venv/bin/activate
- Go to webapps:
cd webapps
python manage.py makemigrations inventory
python manage.py migrate
python manage.py rumserver
- Open browser (prefer chrome or FireFox) and enter the address:
http://localhost:8000
You could browse this webapp now.
**Note:** It could be possible that the given virtual environment is not working. You could create a new virtual environment(or run locally, the you would change every 'python' to 'python3' when prompting).
1.1 Install python3 from https://python.org
1.2 Choose a location in which to create the virtual environment. Let's call it "venv".
python3 -m venv my_env
1.3 On MAC/Unix:
source my_env/bin/activate
On Windows:
my_env\Scripts\activate.bat
1.4 Upgrade pip to the most current versions
pip install โ-upgrade pip
Install Django
pip install django
1.5 Do steps from 2 - 4.