timtec main repo
Python HTML JavaScript CSS Makefile Shell Nginx
Pull request Compare This branch is 2 commits ahead, 11 commits behind hacklabr:master.
Permalink
Failed to load latest commit information.
.tx Beginning of a javascript translation framework Mar 22, 2014
accounts Super-merge! Nov 16, 2016
activities Super-merge! Nov 16, 2016
administration Super-merge! Nov 16, 2016
core Super-merge! Nov 16, 2016
course_material fix django-rest-framework upgrade related issues Jul 29, 2016
docker remove configurador do entrypoint Jul 5, 2016
docs Update timtec_deploy.md Nov 24, 2016
forum #600 - updating changes and version modal InlineForumCtrl Jun 20, 2016
ifs Add migration to IF App Apr 11, 2016
locale changing menu name to "My area" - #40 Oct 11, 2016
media create section to allow user edit his profile Aug 27, 2013
notes implement remove note in user note screem Jul 31, 2016
reports Super-merge! Nov 16, 2016
requirements Super-merge! Nov 16, 2016
scripts remove coments from script Jun 17, 2016
static see below Jul 30, 2014
tests remove browsers tests for now Sep 8, 2015
themes Super-merge! Nov 16, 2016
timtec Super-merge! Nov 16, 2016
utils adding cities and states, serializers and forms - #4 Oct 14, 2016
.bowerrc set bower Mar 31, 2016
.coveragerc update covaragerc Sep 4, 2013
.gitignore Super-merge! Nov 16, 2016
Dockerfile removes all database operation from Dokerfile Jul 6, 2016
Dockerfile-dev little ajusts in docker dev Oct 31, 2016
Gruntfile.js remove grunt-less and grunt-watch Mar 3, 2015
LICENSE add fix license references Aug 20, 2015
MANIFEST.in initial commit Aug 14, 2013
Makefile Super-merge! Nov 16, 2016
README-DOCS.md adicionando arquivos .yml Apr 13, 2016
README.md Super-merge! Nov 16, 2016
Vagrantfile update vagrantfile and scripts Apr 7, 2016
bower.json Super-merge! Nov 16, 2016
conftest.py fix 402 pep8 rule Feb 8, 2015
dev-requirements.txt update some requirements Sep 15, 2014
docker-compose-dev.yml little ajusts in docker dev Oct 31, 2016
jshint.conf jshint target on Makefile Nov 13, 2013
manage.py MIGRATION TO DJANGO Aug 23, 2013
mkdocs.yml Build docs with mkdocs Apr 13, 2016
package.json Fix license name Jul 5, 2016
setup.cfg Super-merge! Nov 16, 2016
setup.py fix setup.py Oct 1, 2014
simplecors.py fix pep8 Mar 26, 2014

README.md

Stories in Ready Build Status

TIM Tec

A plataforma de cursos online TIM Tec é um software livre desenvolvido pelo Instituto TIM que utiliza o conceito de MOOC (Massive Open Online Courses), cursos abertos e livres que podem ser feitos simultaneamente por muitas pessoas.

O sistema pode hospedar múltiplos cursos que utilizam videoaulas, além de materiais de apoio e outros links. A ferramenta permite a criação de testes e o uso de emuladores desenvolvidos para que alunos exercitem os conhecimentos abordados. Alunos podem fazer e responder perguntas, ver respostas e favoritar as perguntas dos colegas em um fórum, além de fazer anotações em seu caderno virtual. Gestores podem gerar relatórios de acompanhamento dos cursos, turmas e alunos, acompanhar o progresso de cada participante e habilitar professores tutores quando necessário.

A tecnologia e os conteúdos da plataforma TIM Tec estão sendo compartilhados com instituições públicas de ensino da Rede e-Tec Brasil, com o apoio da Secretaria de Educação Profissional e Tecnológica do Ministério da Educação (Setec/MEC). Entre as instalações já implementadas estão:

Instalação e configurações

Para acessar a documentação completa, veja a pasta docs na raiz da aplicação.

Desenvolvimento

Licença - AGPLV3

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see LICENSE file here or
[AGPLv3](http://www.gnu.org/licenses).

Build Status Coverage

Requisitos de instalação

  • Operating system: Debian (>= 7.7) or Ubuntu (14.04);
  • Proxy server: uwsgi (>= 2.0.7);
  • Web Server: nginx (>= 1.6.2);
  • javascript server-side interpreter: node.js (>= 0.10.40);
  • Data base server: postgresql (>= 9.2);
  • Python language package: python (= 2.7 ou < 3);
  • Virtual Enviroment Python: virtualenv (>=1.11.6);

Requisitos de Desenvolvimento

  • all the above requirements
  • 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)

Production Environment Requirements

UP to 6000 users

  • Processor: Dual Core
  • RAM: 2 to 4 GB
  • Disk Space: 10 GB
  • Network Total Transfer/mo: ~12GB
  • Incoming: 1GB
  • Outgoing: 11 GB

UP to 10k/12k users

  • Processor: Quad Core
  • RAM: 4 to 6 GB
  • Disk Space: 25 GB
  • Network Total Transfer/mo: ~25GB
  • Incoming: 2GB
  • Outgoing: 23 GB

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

Getting Started

We provide a vagrant file for easy dev environment creation. Install Vagrant and on the main directory run:

vagrant up

Them you just need to go inside the machine to start the dev server:

vagrant ssh

On the VM console:

./manage.py runserver 0.0.0.0:8000

Now the system is running, you can go to http://localhost:8000 on your web browser and navigate on it. To create a new superuser (so you can give permissions to other make other users professors) run:

./manage.py createsuperuser

See the Vagrantfile and script folder for more details.

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

Suporte

Gitter