jamesperes-zz / EC

Project for English College
MIT License
12 stars 6 forks source link

Build Status

EC

Project OpenSource for manage students in English College.

The project is based on the rules of language schools in Ireland and used to show student information during the course.

For students:

For teachers:

For Coordinators:

Entities:

Running local server

Requeriments

Install VirtualEnv

$ virtualenv --python=python3 venv
$ source venv/bin/Activate

For install Requeriments

$ pip install -r req_dev.txt
$ python manage.py migrate
$ python manage.py test

For run Server

$ python manage.py runserver

Access to django-admin

login: admin@admin.com

password: admin123

Warm up development's environment by docker compose

sudo curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose

P.s: S.O other than debian look at here

cd provision/compose
sudo docker-compose build --no-cache
sudo docker-compose up -d

Warm up development's environment by docker

sudo apt-get remove docker docker-engine docker.io
sudo apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common
curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") $(lsb_release -cs) stable"
sudo apt-get update && sudo apt-get install docker-ce

P.s: S.O other than debian look at here

cd provision/docker
sudo docker build -t ec_app -f Dockerfile
sudo docker run -p 8080:8080 -it ec_app

To debug and logs

sudo docker exec -it <container's id> /bin/bash
sudo docker logs -f --tail=100 <container's id>

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details