Skip to content

Latest commit

 

History

History
65 lines (48 loc) · 2.21 KB

README.rst

File metadata and controls

65 lines (48 loc) · 2.21 KB

pyconca Website

Build status

Getting Started

~$ virtualenv -p python2.7 env-pyconca
~$ source env-pyconca/bin/activate
(env-pyconca)~$ cd workspace/pyconca/
(env-pyconca)~/workspace/pyconca$ pip install -r requirements.txt
Cleaning up...
(env-pyconca)~/workspace/pyconca$ python setup.py develop
Finished processing dependencies for pyconca==0.0
(env-pyconca)~/workspace/pyconca$ ./reset
(env-pyconca)~/workspace/pyconca$ ./run
serving on http://0.0.0.0:6543

If you are more comfortable with Makefiles you can do the following

~$ virtualenv -p python2.7 env-pyconca
~$ source env-pyconca/bin/activate
(env-pyconca)~$ cd workspace/pyconca/
(env-pyconca)~/workspace/pyconca$ make setup
(env-pyconca)~/workspace/pyconca$ ./run
serving on http://0.0.0.0:6543

Updating the French/English Text

(env-pyconca)~/workspace/pyconca$ make localization_catalog
edit pyconca/locale/fr/LC_MESSAGES/pyconca.po
edit pyconca/locale/en/LC_MESSAGES/pyconca.po
(env-pyconca)~/workspace/pyconca$ make compile_catalog

Testing

If you are so inclined to help test here is a quick way to get started running the tests

(env-pyconca)~$ cd workspace/pyconca/
(env-pyconca)~/workspace/pyconca$ make test
test_index_logged_in_admin (pyconca.tests.test_talk_api.TestTalkApi) ... ok
test_index_logged_in_speaker (pyconca.tests.test_talk_api.TestTalkApi) ... ok
test_index_not_logged_in (pyconca.tests.test_talk_api.TestTalkApi) ... ok
test_index_logged_in_admin (pyconca.tests.test_index.TestIndexFunctional) ... ok
test_index_logged_in_speaker (pyconca.tests.test_index.TestIndexFunctional) ... ok
test_index_not_logged_in (pyconca.tests.test_index.TestIndexFunctional) ... ok

----------------------------------------------------------------------
Ran 6 tests in 0.080s