Skip to content

Competitive programming web application that allows tournament creation, problem practising and code evaluation for multiple programming languages.

License

Notifications You must be signed in to change notification settings

miguelfbrito/Codeflex

Repository files navigation

Codeflex

Setup application

  1. Clone repository

     git clone [email protected]:miguelfbrito/Codeflex.git
    
  2. Run setup scripts (install npm, node, mysql)

     cd /setup/
     ./setup.sh
    
  3. Create MySQL database

     sudo mysql --password
     create database db_codeflex;
     create user 'admin'@'localhost' identified by 'spring-password!2018';
     grant all on db_codeflex.* to 'admin'@'localhost';
    

    Change sql mode:

     vi /etc/mysql/conf.d/mysql.cnf
     sql_mode = "STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
     sudo service mysql restart
    

Run application

  1. Start frontend

     cd /client/
     npm start   
    
  2. Start backend

     cd /server/
     mvn clean
     mvn package
     cd target/ && java -jar web-0.0.1-SNAPSHOT.war
    

About

Competitive programming web application that allows tournament creation, problem practising and code evaluation for multiple programming languages.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published