fushar / regrader

ICPC-style programming contest system
MIT License
34 stars 25 forks source link

bootsrapt doesn't work #72

Closed ecojuntak closed 8 years ago

ecojuntak commented 8 years ago

I have finished install the Regrader, but when I try load the web the styling is not work. How can I solve it? screenshot from 2016-04-07 22 16 05

fushar commented 8 years ago

Hi @ecojuntak,

Try viewing the source. You should see the following on top of the file:

<!DOCTYPE html>
<html lang="en">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

    <link type="text/css" href="http://regrader.local/assets/vendor/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet"/>
    <link type="text/css" href="http://regrader.local/assets/css/style.css" rel="stylesheet"/>

    <link rel="shortcut icon" href="http://regrader.local/files/favicon.ico">
    <script type="text/javascript" src="http://regrader.local/assets/vendor/jquery/dist/jquery.min.js"></script>
    <script type="text/javascript" src="http://regrader.local/assets/vendor/bootstrap/dist/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="http://regrader.local/assets/js/clocks.js"></script>

Try clicking on the .css files and see if they point to existing files?

ecojuntak commented 8 years ago

1.I can find the vendor folder on assets folder. screenshot from 2016-04-08 07 58 34

2.What file .css do you mean?

fushar commented 8 years ago

If you can't find vendor folder that means you didn't install it correctly. Are you sure you followed README? Are you sure you download Regrader from https://github.com/fushar/regrader/releases/download/v2.2.1/regrader-v2.2.1.tar.gz?

ecojuntak commented 8 years ago

I have solved it. This is the way i solved it. First I download the master package. Then I download the version2.2.1 package. Then i extract the packages and i merge all the files. After it I follow all the step written README..

But now the next problems is to set the compile command. How to set compile command C and C++ language??

fushar commented 8 years ago

That's not how you would do it, although it may work. If you really want to install from source, you need to follow this: https://github.com/fushar/regrader#contributing.

Could you open a new issue for compile command? Which part didn't you understand?