Coder Social home page Coder Social logo

benecollyridam / mobilager2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from datalogisk-kantineforening/mobilager2

0.0 1.0 0.0 242 KB

Inventory management system

License: GNU Affero General Public License v3.0

Python 34.39% CSS 37.06% JavaScript 5.11% HTML 23.43%

mobilager2's Introduction

Mobilager

This is a project made for keeping track of the inventory at Datalogisk Kantineforening

Setup

To install you need to install the packages in requirements.txt. It is not required but it's recommended to set up a virtualenv

  • Install the required packages with pip install -r requirements.txt
  • For development set the environment variable DJANGO_ENV="DEV" (on UNIX like systems run export DJANGO_ENV=DEV)
  • Run the migrations python manage.py migrate
  • Load the test database python manage.py loaddata fixtures/EventType.json
  • Create a user by running python manage.py createsuperuser
  • Create a file called users.auth.php which contains the users in the following format username:crypt:real name:e-mail:groups
    • username: The username you used in the previous command
    • real name: Your real name e.g. "John Doe"
    • e-mail: Your e-mail
    • groups: Should be "user"
    • crypt: calculate this by running the following commands in Python:
from crypt import crypt
crypt(password, password)

Use the output from the last command in place of "crypt". Note this should only be used for development

Running

If you have followed the instructions in the setup section you should be ready to run the server.

  • Run python manage.py runserver

mobilager2's People

Contributors

benecollyridam avatar truls avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.