|
GettingStarted
Getting StartedInstallingDownload the latest version: simplestore-0.3.1.tar.gz $ tar xzf simplestore-0.3.1.tar.gz $ cd simplestore-0.3.1 $ python setup.py build $ sudo python setup.py install Running the testsFirst off, you need to create a test user and database in MySQL. The tests expect a database named 'simplestore_test_db' and a user named 'simplestore_user'. In the MySQL client: CREATE DATABASE simplestore_test_db; CREATE USER 'simplestore_user'@'localhost'; GRANT ALL PRIVILEGES ON simplestore_test_db.`*` TO 'simplestore_user'@'localhost'; Once the steps above are completed you can run the tests with nose: $ cd simplestore-0.3.1/simplestore $ nosetests Note: Until I get some real documentation in place, please read through the tests to get a feel for how simplestore works. |
► Sign in to add a comment