https://github.com/rudrakshi99/google_form
https://github.com/rudrakshi99/google_form
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rudrakshi99/google_form
- Owner: rudrakshi99
- License: mit
- Created: 2021-10-11T17:19:24.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-11T17:26:21.000Z (over 3 years ago)
- Last Synced: 2025-01-22T18:53:25.448Z (4 months ago)
- Language: Python
- Size: 40 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Google Forms
============Basic Commands
--------------Setting Up Your Users
* To create a **normal user account**, just go to Sign Up and fill out the form. Once you submit it, you'll see a "Verify Your E-mail Address" page. Go to your console to see a simulated email verification message. Copy the link into your browser. Now the user's email should be verified and ready to go.
* To create an **superuser account**, use this command::
$ python manage.py createsuperuser
For convenience, you can keep your normal user logged in on Chrome and your superuser logged in on Firefox (or similar), so that you can see how the site behaves for both kinds of users.
Type checks
Running type checks with mypy:
$ mypy google_forms
Test coverage
To run the tests, check your test coverage, and generate an HTML coverage report::
$ coverage run -m pytest
$ coverage html
$ open htmlcov/index.htmlRunning tests with py.test
$ pytestCelery
To run a celery worker:
.. code-block:: bash
cd google_forms
celery -A config.celery_app worker -l info