No description
  • Python 98.6%
  • Dockerfile 0.8%
  • Shell 0.6%
Find a file
2020-11-17 08:39:50 -09:00
geeksbot Fix typo 2020-11-17 08:39:50 -09:00
requirements Remove files for web api 2019-12-11 23:33:22 -09:00
.gitignore Update env to remove secrets and add secrets to redis 2019-12-23 20:51:40 -09:00
CONTRIBUTORS.txt Initil Commit 2019-08-25 15:20:43 -08:00
docker-compose.yml Multiple changes 2019-12-01 10:30:03 -09:00
Dockerfile Add closer to ticket detail view 2020-04-25 23:39:37 -08:00
entrypoint Remove .env and adjust entrypoint 2019-12-23 21:42:17 -09:00
LICENSE Initil Commit 2019-08-25 15:20:43 -08:00
README.rst Initil Commit 2019-08-25 15:20:43 -08:00
user-data.sh Update user-data and rearange requirements installation 2019-12-25 23:41:16 -09:00

geeksbot
========

Version 2 of Geeksbot

.. image:: https://img.shields.io/badge/built%20with-Cookiecutter%20Django-ff69b4.svg
     :target: https://github.com/pydanny/cookiecutter-django/
     :alt: Built with Cookiecutter Django
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
     :target: https://github.com/ambv/black
     :alt: Black code style


:License: MIT


Settings
--------

Moved to settings_.

.. _settings: http://cookiecutter-django.readthedocs.io/en/latest/settings.html

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 geeksbot_v2

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.html

Running tests with py.test
~~~~~~~~~~~~~~~~~~~~~~~~~~

::

  $ pytest

Live reloading and Sass CSS compilation
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Moved to `Live reloading and SASS compilation`_.

.. _`Live reloading and SASS compilation`: http://cookiecutter-django.readthedocs.io/en/latest/live-reloading-and-sass-compilation.html





Deployment
----------

The following details how to deploy this application.



Docker
^^^^^^

See detailed `cookiecutter-django Docker documentation`_.

.. _`cookiecutter-django Docker documentation`: http://cookiecutter-django.readthedocs.io/en/latest/deployment-with-docker.html