Selecto is a Python webproject which makes it easy to filter and search for various products online. With enhanced filtering, we can find the best product for you!
This project is built using tox. This allows us to build in both Unix and Windows enviroments. To run tox, please follow the below instructions:
We current have two files: web/selecto/resources/dev.env
and web/selecto/resources/prod.env
which are used to store credentials.
Please use the web/selecto/resources/template.env
file as an example to produce these two files.
Ask the other team members for our creds. We need to use these for testing and deployment for our app.
Here is an example on using venv.
python -m venv venv
venv\Scripts\activate # On Windows
If you are on MACOS/UNIX please run this to activate this venv environment.
source venv/bin/activate # On macOS/Linux
pip install tox
tox -e <command>
Replace
tox -e install
tox -e init_db
This will initalize the db so that you can run the server.
tox -e runserver