Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding nstock appliance #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
47 changes: 47 additions & 0 deletions nstock/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
__pycache__/
*.py[cod]
*.so
.Python
env/
venv/
build/
develop-eggs/
dist/
downloads/
eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
*.manifest
*.spec
pip-log.txt
pip-delete-this-directory.txt
htmlcov/
.tox/
.coverage
.cache
nosetests.xml
coverage.xml
*.mo
*.pot
*.log
docs/_build/
target/
cache/*
databases/*
errors/*
sessions/*
uploads/*
whoosh/*
*.bak
.pythonhistory
.project
.pydevproject
.settings
*.pkl
enews.nja
2 changes: 2 additions & 0 deletions nstock/ABOUT
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Write something about this app.
Developed with web2py.
21 changes: 21 additions & 0 deletions nstock/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2016 Yoel Benítez Fonseca

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
31 changes: 31 additions & 0 deletions nstock/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# nStock

A system for news item management, i mean the pictures, texts, translations,
etc. those bits of info that glued together make the news as you can see on
the newspaper site.

In nStock each user has a personal desk. Each new Item is stored on the user personal desktop.

Organizations consist of a set of desk, over which users will have some permissions, for example: view the contents of the desk, send items to the desk or edit the contents of the desk (Items). In this way, several workflows can be represented.

## Install

This is a web2py application. Fallow the instructions on [web2py book](http://web2py.com/books/default/chapter/29/13/deployment-recipes) or for testing purposes download [web2py](http://www.web2py.com/) and clone this repo in the applications folder in your local web2py instance.

## Requirements.

- PIL: you need to install python-pil for image handling.

## First time.

The first time the system is used, the site admin will need to give permissions for some users to be able to create organizations. For that, go to appadmin:

```
http://YOUR.SITE.NAME/nstock/appadmin
```

And give the permission ```create_org``` to the user group.

## SC

![nStock Desk](https://i.screenshot.net/x52m9tx)
1 change: 1 addition & 0 deletions nstock/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

5 changes: 5 additions & 0 deletions nstock/cache/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Ignore everything in this directory
*
# Except this file
!.gitignore

Loading