dhireshjain / onj Goto Github PK
View Code? Open in Web Editor NEWThis project forked from vrglinug/onj
This project forked from vrglinug/onj
=== ONJ === INSTALLATION INSTRUCTIONS ================================================== 1. Place these files in a directory under your web root 2. Edit setup and set the variables to appropriate values 3. Run ./setup WARNING ================================================== 1. Do NOT run setup after the initial installation. It resets the database. HOW TO UPDATE PROBLEMS ================================================== 1. Problems are stored under the problems/ directory 2. In this directory, you will find subfolders 1/ 2/ 3/ 4/ 5/, each holding data for the corresponding problem 3. Under each of these, you will find 3 files: - statement : This contains the html of the problem statement - in : This is the system test input file - out : This is the expected output that the program should produce 4. You can also edit problems from the problem page if you are logged in as admin HOW TO CHANGE SETTINGS AFTER INITIAL SETUP ================================================== 1. Play around with settings.php ADMIN ACCOUNT ================================================== The admin account is 'admin' with password 'onj'. To change the password, either manually do it in the database (ugly) or edit the dbinit.sql file before running setup ================================================== ADDING SECURITY FEATURE While setting up onj using apache server, prevent access to files/directories by following these instructions: Open the file /etc/apache2/apache2.conf Insert the following lines of code: <Directory /var/www/html/onj/problems> Order Deny,Allow Deny from all </Directory> <Directory /var/www/html/onj/code> Order Deny,Allow Deny from all </Directory> <Directory /var/www/html/onj/admin> Order Deny,Allow Deny from all </Directory> ==================================================
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.