-
Notifications
You must be signed in to change notification settings - Fork 1
/
README
48 lines (26 loc) · 994 Bytes
/
README
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
VeloMak - mini blog on Django
=============================
**Velomak** is a mini-blog-web-application on Django.
Current version Django - 1.5.
### Installing VeloMak ###
1. Create virtualenv for new project:
virtualenv --system-site-packages ~/venv/
2. Clone an app to ~/venv/velomak/
cd ~/venv/
git clone https://github.com/le087/velomak.git
3. Activate virtualenv:
source ~/venv/bin/activate
4. Install dependens to virtualenv using pip:
cd ~/venv/velomak/velomak
pip install -r requirements.pip
5. Create a database and an user for blog in MySQL.
6. Rename settings.py.example in settings.py and edit it in "DATABASE".
7. Delete all files in "blog/migration". I fix it after.
8. Create a file for counters:
touch templates/metrika.html
9. Create the system tables in database using syncdb and South:
./manage.py schemamigration blog --initial
./manage.py syncdb
./manage.py migrate blog
10. Start it!
./manage.py runserver