All Projects → algorithm-ninja → cmsocial

algorithm-ninja / cmsocial

Licence: AGPL-3.0 license
A web application that builds a social coding platform upon CMS

Programming Languages

python
139335 projects - #7 most used programming language
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
PLpgSQL
1095 projects
c
50402 projects - #5 most used programming language
Less
1899 projects

Projects that are alternatives of or similar to cmsocial

Online-Judge
Online Judge for testing programming ability in C, C++, Java and Python.
Stars: ✭ 25 (+19.05%)
Mutual labels:  online-judge
godge
Godge is a self-hosted container-based online judge for meetups and workshops.
Stars: ✭ 13 (-38.1%)
Mutual labels:  online-judge
code-executor
A CLI/library to execute code against test cases in various languages and obtain relevant results. 🚀
Stars: ✭ 9 (-57.14%)
Mutual labels:  online-judge
judge
A blazingly fast online judge/ autograder ⚖️ built with Python and the Django framework to test cases against your solution. Check out the sponsor links and help fund DomeCode.
Stars: ✭ 30 (+42.86%)
Mutual labels:  online-judge
random-data
随机数据产生姬
Stars: ✭ 21 (+0%)
Mutual labels:  online-judge
Code
Macesuted's Code Repository.
Stars: ✭ 20 (-4.76%)
Mutual labels:  online-judge
hustoj
Popular Open Source Online Judge based on PHP/C++/MySQL/Linux for ACM/ICPC and NOIP training, with easy installation. 开源OJ系统
Stars: ✭ 2,773 (+13104.76%)
Mutual labels:  online-judge
codecourses
CodeCourses is an open-source online judge
Stars: ✭ 39 (+85.71%)
Mutual labels:  online-judge
LeetCode-with-JavaScript
Solutions collection of my LeetCode submissions in JavaScript (LeetCode 解题集之 JavaScript 版)
Stars: ✭ 104 (+395.24%)
Mutual labels:  online-judge
hacklympics
🏆 Full-stack online programming examination system
Stars: ✭ 44 (+109.52%)
Mutual labels:  online-judge
online-judgement
A collaborative online code judge system
Stars: ✭ 33 (+57.14%)
Mutual labels:  online-judge
cp-tool
cp-tool is an auto generator for solved problems at different online judges.
Stars: ✭ 24 (+14.29%)
Mutual labels:  online-judge
cats-main
Programming contest control system
Stars: ✭ 33 (+57.14%)
Mutual labels:  online-judge
leetcode
😖 😕 😃LeetCode问题解题思路。
Stars: ✭ 132 (+528.57%)
Mutual labels:  online-judge
Problem-Solving
This Repository consists of my solutions💡 in Python 3 to various problems in Data Structures and Algorithms.🎖️
Stars: ✭ 17 (-19.05%)
Mutual labels:  algorithm-challenges
gdoj
The Online Judge Web Platform For ACM
Stars: ✭ 30 (+42.86%)
Mutual labels:  online-judge
basic-lms-laravel
Basic Laravel Learning Management System
Stars: ✭ 54 (+157.14%)
Mutual labels:  online-judge
cb4
Joint Online Judge
Stars: ✭ 20 (-4.76%)
Mutual labels:  online-judge
HZNUOJ
Hangzhou Normal University Online Judge
Stars: ✭ 59 (+180.95%)
Mutual labels:  online-judge
codeplayer
An online judge system for competitive programming platform, The website is hosted on http://codeplayer.co.in
Stars: ✭ 12 (-42.86%)
Mutual labels:  online-judge

CMSocial

A web application that builds a social coding platform upon CMS.

This repository aims to be the successor of oii-web, by cleaning up the codebase and by using a saner dependency model. Since right now this is in alpha stage, you may want to refer to the old repository in the meantime.

Installing cmsocial

Run make to build the web application (make ONLINE=1 if you don't need local copies of the used libraries). Then run python ./setup.py install.

Create a configuration file config/cmsocial.ini (you can find an example in config/cmsocial.ini.sample) and install it by running cp config/cmsocial.ini /usr/local/etc/cmsocial.ini as root.

Add service PracticeWebServer to /usr/local/etc/cms.conf in the core_services section.

Database creation instructions

Here are the needed steps (after installing both cms and cmsocial). You'll need an empty DB. If you initialized it when installing cms, clear it with cmsDropDB (obviously, you will loose all the data by doing so).

python -c "import cmsocial.db; from cms.db import metadata; metadata.create_all()"
psql cmsdb -U cmsuser < sql_scripts/create_triggers.sql

Update for multicontest

Run the following:

python -c "import cmsocial.db; from cms.db import metadata; metadata.create_all()"
psql cmsdb -U cmsuser < sql_updaters/multicontest_update.sql

An analog procedure works for other updates. Note: update scripts consist of a transaction ending with ROLLBACK - to actually run the script, you should change that to COMMIT.

Also note that if you installed cmsocial fom scratch, you don't need to run the updates.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].