Skip to content

Kaniabi/webtasks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebTasks

Configuring

Configure the environment.

This configuration is based on an empty Ubuntu vagrant box, more speficially, the box "phusion/ubuntu-14.04-amd64".

$ apt-get install git python3-pip npm nodejs
$ ln -s /usr/bin/nodejs /usr/bin/node
$ pip3 virtualenv
$ npm install -g http-server

Download the sources

$ git clone https://github.com/Kaniabi/webtasks.git

Create the server environment using virtualenv

The environment must be created only once.

$ cd webstasks
$ virtualenv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
$ python manage.py create_db
$ deactivate

Executing

Start the server

The server will be available at http://localhost:5000.

$ cd webtasks
$ source .venv/bin/activate
$ python manage.py runserver

Start the client

The client will be available at http://localhost:8080

$ cd webtasks
$ cd client
$ http-server

Testing

Without coverage:

$ export APP_SETTINGS="project.config.TestingConfig"
$ python manage.py test

With coverage:

$ export APP_SETTINGS="project.config.TestingConfig"
$ python manage.py cov

About

Simple web application to handle tasks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published