Skip to content

Commit

Permalink
Refresh instructions to run the test project
Browse files Browse the repository at this point in the history
  • Loading branch information
claudep committed Sep 19, 2020
1 parent b8d1b76 commit 4e78561
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -215,17 +215,20 @@ ModelAdmin class for flatpages first::
admin.site.register(FlatPage, TinyMCEFlatPageAdmin)

The source contains a `test project`_ that includes this flatpages model admin.
You just need to add the TinyMCE javascript code.

#. Checkout the test project:
``svn checkout http://django-tinymce.googlecode.com/svn/trunk/testtinymce``
#. Checkout django-tinymce:
``git clone https://github.com/jazzband/django-tinymce.git``
#. Go to the test project:
``cd django-tinymce/testtinymce``
#. Copy the ``tiny_mce`` directory from the TinyMCE distribution into
``media/js``
#. Run ``python manage.py syncdb``
#. Run ``python manage.py migrate``
#. Run ``python manage.py createsuperuser``
#. Run ``python manage.py runserver``
#. Connect to `http://localhost:8000/admin/`_
#. Connect to `http://localhost:8000/admin/`_ and login with the above-created
user.

.. _`test project`: http://code.google.com/p/django-tinymce/source/browse/trunk/testproject/
.. _`test project`: https://github.com/jazzband/django-tinymce/tree/master/testtinymce
.. _`http://localhost:8000/admin/`: http://localhost:8000/admin/


Expand Down

0 comments on commit 4e78561

Please sign in to comment.