forked from institutotim/timtec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
64 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# Timtec | ||
|
||
[](https://drone.io/github.com/hacklabr/timtec/latest) | ||
[](https://coveralls.io/r/hacklabr/timtec) | ||
|
||
|
||
## Getting Started | ||
|
||
We provide a vagrant file for easy dev environment creation. Install | ||
[Vagrant](http://www.vagrantup.com/) and on the main directory run: | ||
|
||
vagrant up | ||
|
||
See the Vagrantfile and script folder for more details. | ||
|
||
## Dependencies | ||
|
||
|
||
* Python 2.7 with virtualenv and pip | ||
* build essentials and many dev packages if on apt/rpm based systems | ||
* libpq-dev, libjpeg-dev, libpng12-dev, build-essential, python-dev, gettext | ||
* nodejs (0.10+) (you will need a ppa for ubuntu < 14.04) | ||
|
||
### Python env | ||
|
||
|
||
* create a Python 2.X virtualenv | ||
|
||
`virtualenv ../timtec-env` | ||
|
||
* activate the virtual env | ||
|
||
`source ../timtec-env/bin/activate` | ||
|
||
* run make | ||
|
||
`make` | ||
|
||
* run the django devel server | ||
|
||
`./manage.py runserver` | ||
|
||
## Running Tests | ||
|
||
We made a bunch of tests for the system. They are separated into python tests | ||
(that includes selenium full stack tests) and Karma/AngularJS tests. To run all | ||
of them together just type | ||
|
||
make all_tests | ||
|
||
remember that you need to have your virtualenv activated and has installed | ||
everything from the `dev-requirements.txt` file. | ||
|
||
### python | ||
|
||
Activate virtual env, then: | ||
|
||
make python_tests | ||
|
||
### Angular | ||
|
||
In the root of repository: | ||
|
||
make karma_tests |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters