Нет описания

Rafał Pitoń 46f2def4bf moved user lock before thread get, not after, read endpoint now returns current thread readstate 8 лет назад
docs 97d96049a1 small cleanup, task for cleaning expired orphaned attachments 8 лет назад
frontend 47e30e70e2 replace gulp-image-optimize with gulp-image, use newer versions of deps in builds 8 лет назад
misago 46f2def4bf moved user lock before thread get, not after, read endpoint now returns current thread readstate 8 лет назад
.gitattributes a2cd444762 Restructured should use lr too 11 лет назад
.gitignore 4d3ad1d580 venv ignore, added py 3.5 to travis tests matrix, removed appveyor 9 лет назад
.isort.cfg 5ac973fbd7 added isort for automatic sorting of imports 9 лет назад
.pylintrc 6dfb9f7549 #591: misago.acl is now passing pylint 9 лет назад
.travis.yml 5aafc11e67 add py3.5k to tests matrix 8 лет назад
LICENSE.rst 2700affc5f Fixed formatting of license text 10 лет назад
MANIFEST.in e9ef83e934 Updated setup.py 11 лет назад
README.rst 0837b6b55a little more instructions in readme 8 лет назад
fixabsoluteimports.py cc198368a5 made in-app imports relative, utility for converting abs imports to rel ones 9 лет назад
makemessages cec7d032e0 more tests for core services 9 лет назад
pyclean 6cb6be9348 tweaked pyclean 9 лет назад
requirements.txt e31b1f6b38 Make Misago Django 1.10-compatible and update requirements.txt 8 лет назад
runtests.py 365e57ea20 Make tests compatible with Django 1.10 8 лет назад
setup.py 38477a4167 moved requirements.txt from project_template up to project's main dir 8 лет назад

README.rst

======
Misago
======

.. image:: https://travis-ci.org/rafalp/Misago.png?branch=master
:target: https://travis-ci.org/rafalp/Misago
:alt: Tests Result

.. image:: https://coveralls.io/repos/rafalp/Misago/badge.png?branch=master
:target: https://coveralls.io/r/rafalp/Misago?branch=master
:alt: Code Coverage

.. image:: https://badges.gitter.im/Misago/Misago.svg
:target: https://gitter.im/Misago/Misago?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge
:alt: Development Chat


**Development Status: Pre-Alpha**

Misago aims to be complete, featured and modern forum solution that has no fear to say 'NO' to common and outdated opinions about how forum software should be made and what it should do.

If you can run Python apps on your hosting and you are looking for modern solution using latest paradigms in web development, or you are Django developer and forum is going to be core component of your next project then Misago is option for you.

* **Homepage:** http://misago-project.org/
* **Documentation:** http://misago.readthedocs.org/en/latest/
* **Code & BugTracker:** https://github.com/rafalp/Misago/


Don't use this branch in production!
====================================

This branch contains in-development code of next major Misago release, 0.6. **It's not feature-complete.** If you are looking at running "real" forum on Misago, please use latest 0.5 release instead.

**There is no update path for pre-release 0.6 installations!** If you run your site off codebase pulled straight from git branch instead of release or pypi install, you'll won't be able to do smooth update via ``python manage.py migrate``.


Development
===========


To start Misago site locally, first setup and activate virtual environment for it and then fire following commands::

python setup.py install
misago-start.py testforum

This will install Misago and its dependencies in your virtual environment and will make pre-configured Misago site for you named ``testforum``::

testforum
+ avatar_store
+ media
+ testforum
* __init__.py
* settings.py
* urls.py
* wsgi.py
+ static
+ theme
+ cron.txt
+ manage.py

Now edit ``settings.py`` file in your editor of choice in order to set up basic settings like database connection, default timezone or interface language.

Next, initialize database by using migrate commands provided by ``manage.py`` admin utility that you'll find in directory up one level from where ``settings.py`` is::

python manage.py migrate

Then, call ``createsuperuser`` command to create super admin in database::

python manage.py createsuperuser

Finally start development server using ``runserver`` command::

python manage.py runserver

If nothing is wrong with your setup, Django developer server will start, enabling you to visit ``127.0.0.1:8000`` in your browser and see the forum index. You should now be able to sign in to user account that you have created ealier.

You will likely want to customize your site via changing settings and creating categories. You can do this with Admin Control Panel available under ``127.0.0.1:8000/admincp/`` url.


Frontend
--------

With exception of Admin Panel, Misago frontend relies heavily on React.js components backed by Django API. This application relies on custom Gulp.js-based toolkit for development. As of current, Misago's ``gulpfile.js`` defines following tasks:

* **build** does production build of Misago's assets, concating and minifying javascripts, css and images, as well as moving them to misago/static directory
* **watch** does quick build for assets (concat assets into single files, compile less, deploy to misago/static but don't minify/optimize) as well as runs re-build when less/js changes
* **watchstyle** does quick build of less files, and re-builds them when they change
* **test** runs Mocha.js tests suite for Misago's javascript

To start work on custom frontend for Misago, fork and install it locally to have development forum setup. You can now develop custom theme by modifing assets in ``frontend`` directory, however special care should be taken when changing source javascripts.

Misago defines template that allows you to include custom html and js code before Misago's JavaScript app is ran, named **scripts.html**.


Bug reports, features and feedback
==================================

If you have found bug, please report it on `issue tracker `_.

For feature or support requests as well as general feedback please use `official forum `_ instead. Your feedback means much to the project so please do share your thoughts!

There's also Gitter for those looking for intant-messaging approach for discussing Misago development.


Contributing
============

If you have corrected spelling, wrote new tests or fixed a bug, feel free to open pull request.

Many issues are open for takers. If you've found one you feel you could take care of, please announce your intent in issue discussion before you start working. That way situations when more than one person works on solving same issue can be avoided.


Authors
=======

**Rafał Pitoń**

* http://rpiton.com
* http://github.com/rafalp
* https://twitter.com/RafalPiton


Copyright and license
=====================

**Misago** - Copyright © 2016 `Rafał Pitoń `_
This program comes with ABSOLUTELY NO WARRANTY.

This is free software and you are welcome to modify and redistribute it under the conditions described in the license.
For the complete license, refer to LICENSE.rst