Skip to content

Commit ea1a69b

Browse files
committed
Merge pull request tobami#161 from tobami/django-16
Django 16
2 parents 787b9a2 + 6c5e3c8 commit ea1a69b

11 files changed

Lines changed: 22 additions & 562 deletions

File tree

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,4 @@ install:
2020
# command to run tests
2121
script:
2222
- python setup.py test
23-
- cd sample_project
2423
- python manage.py test codespeed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ For an overview of some application concepts see the [wiki page](https://github.
99

1010
# Requirements
1111

12-
You will need Python 2.6+ and Django 1.3+ with South isodate and Tastypie.
12+
You will need Python 2.6+ and Django 1.4+ with South and isodate
1313

14-
In Debian and Ubuntu, they can be installed with:
14+
To install all needed dependencies using pip:
1515

16-
sudo apt-get install python-django python-django-south python-tastypie
16+
pip install -r requirements.txt
1717

18-
Instead of using distribution packages, you can use pip:
18+
To install dependencies and the codespeed Django app:
1919

20-
sudo pip install -r requirements.txt
20+
python setup.py install
2121

2222
If you want version control integration, there are additional requirements:
2323

@@ -36,8 +36,8 @@ can take a long time. Please be patient.
3636
[github.com/tobami/codespeed/tags](https://github.com/tobami/codespeed/tags), unpack it and install it with `python setup.py install`.
3737
* To get started, you can use the `sample_project` directory as a starting point for your Django project, which can be normally configured by editing `sample_project/settings.py`.
3838
* For simplicity, you can use the default sqlite configuration, which will save
39-
the data to a database named `sample_project/data.db`
40-
* Create the DB by changing to the `sample_project/` directory and running:
39+
the data to a database named `data.db`
40+
* Create the DB by typing from the root directory:
4141

4242
python manage.py syncdb
4343

@@ -61,9 +61,9 @@ modify `sample_project/settings.py` and set `DEBUG = False`.
6161

6262
If you want to test drive Codespeed, you can use the testdata.json fixtures to have a working data set to browse.
6363

64-
* From the `sample_project/` directory, type:
64+
* From the root directory, type:
6565

66-
./manage.py loaddata ../codespeed/fixtures/testdata.json
66+
./manage.py loaddata codespeed/fixtures/testdata.json
6767

6868
## Starting from scratch
6969

0 commit comments

Comments
 (0)