Code Monkey home page Code Monkey logo

webforces's Introduction

Webforces

How to install:

  1. Install Python 3.7+
  2. Install MongoDB
  3. Install gcc compiler and make sure g++ is in your system PATH.
  4. Install webforces:
    python -m pip install -r requirements.txt
    python manage.py migrate

How to run:

Server

python manage.py runserver

Web application

Open URL that is displayed after starting server in your browser.

Desktop application

cd desktop_app
python start_application.py

webforces's People

Contributors

aobolensk avatar skonnov avatar megarungle avatar akorobeinikov avatar dependabot[bot] avatar antondudchenko avatar left841 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

webforces's Issues

Implement the buying/adding to favorites process on the MongoDBWorker side

  • Add a price field to the algrorithm structure;
  • Add a field with accessible algorithms to the user stucture (accessible algorithms == bought algorithms and added to favorites algorithms);
  • Method for updating the algorithm price;
  • Method for updating the list of algorithms accessible to the user.

Add methods for updating entities in MongoDBWorker

  • Method for updating the user full name;
  • Method for updating the algorithm title;
  • Method for updating the test title;
  • Method for updating the algorithm source;
  • Method for updating the test source;
  • Method for updating the status of the task;
  • Method for updating the task message.

test_can_add_diff_users failure

________________________ DBTest.test_can_add_diff_users ________________________

self = <webforces.server.tests.DBTest testMethod=test_can_add_diff_users>

    def test_can_add_diff_users(self):
        user1 = User(0, "LOGIN_USER1", "FN_USER1", "SN_USER1", "MN_USER1", [])
        user2 = User(0, "LOGIN_USER2", "FN_USER2", "SN_USER2", "MN_USER2", [])
        status1, user1 = self.core.db.addUser(user1)
        status2, user2 = self.core.db.addUser(user2)
        self.assertEqual(status1, DBStatus.s_ok)
        self.assertEqual(status2, DBStatus.s_ok)
>       self.assertEqual(user1.user_id, 1)
E       AssertionError: 3 != 1

webforces/server/tests.py:30: AssertionError
----------------------------- Captured stderr call -----------------------------

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.