forked from MsuLab/TextumBB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
111 lines (77 loc) · 2.22 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
Textum
==============
1. INTRODUCTION
---------------
Web-app for working with handwritten texts.
2. REQUIREMENTS
---------------
Python packages:
* Django==1.5.1
* beautifulsoup4==4.3.2
* pillow
Submodules:
* [WebODF](https://github.com/KopBob/WebODF)
* [unoconv](https://github.com/KopBob/unoconv)
3. INSTALLATION
---------------
All cmds should be run from root directory of this project.
3.1 Vagrant
---------------
a. Install vagrant:
http://www.vagrantup.com/downloads.html
And also install VirtualBox Guest Additions plugin:
https://github.com/dotless-de/vagrant-vbguest
b. Start vagrant and ssh to it
$ vagrant up
$ vagrant ssh
3.2 Box updates
---------------
Execute all commands in Vagrant.
a. Update Ubuntu.
Do not install GRUB-pc.
$ sudo apt-get update
$ sudo apt-get dist-upgrade
b. Install add-apt-repository
$ sudo apt-get install python-software-properties
c. Install LibreOffice
$ sudo add-apt-repository ppa:libreoffice/libreoffice-4-1
$ sudo apt-get update
$ sudo apt-get install libreoffice
$ sudo apt-get install python-dev
3.3 Unoconv setup
---------------
Execute all commands in Vagrant.
a. Run unoconv listener
$ cd /tmp
$ sudo apt-get install git
$ git clone https://github.com/dagwieers/unoconv
$ ./unoconv/unoconv --listener &
3.4 Bower install
---------------
Bower is a package manager for the web.
a. Get bower
http://bower.io/
b. Install JavaScripts packages
$ bower install
3.5 Django setup(vagrant)
---------------
a. Install virtualenv
$ sudo apt-get install python-pip
$ sudo pip install virtualenv
b. Setup environment
$ sudo pip install --upgrade -r /vagrant/requirements.txt
$ git submodule init
$ git submodule update
c. Run development server
$ LANG="en_US.UTF-8"
$ LC_ALL="en_US.UTF-8"
$ python manage.py runserver 0.0.0.0:8000
On host you can view project by http://127.0.0.1:8080/ url.
4. CONTACTS
-----------
You can ask any questions about usage Textum, report about bugs,
send your suggestions and patches in the Textum project's groups
and the developer's email.
Developer:
* Boris Kopin <[email protected]>
* Volodia Kozlov <[email protected]>