Skip to content

Commit 5e8051b

Browse files
committed
updated readme
1 parent dda82e0 commit 5e8051b

25 files changed

+88
-15
lines changed

CONTRIBUTING.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
## Getting involved
2+
3+
:+1::tada: First off, thanks for taking the time to contribute! :tada::+1:
4+
5+
If you wish to contribute, please open a **new issue** before making any pull request. **Every pull request should
6+
have a reference to an issue.**
7+
8+
9+
### Making your your first pull request
10+
11+
- First, fork this repository
12+
- Clone it using ``` git clone https://github.com/[username]/yt_downloader.git ```
13+
- It is always recommended to make your changes in a new branch rather than master.
14+
So create a new branch using ``` git branch mybug ```
15+
- Checkout into your new branch using ``` git checkout mybug ```
16+
- Hack the code, and do all kinds of awesome stuff.
17+
- After you are done add your changes using ``` git add --all```
18+
- Commit your changes using ``` git commit ``` and provide a commit message.
19+
- After you have committed your changes push your changes to your forked repository
20+
using ``` git push origin mybug ```
21+
- Finally create a pull request from github.
22+
- If everything is alright then soon your changes will get merged or else you will
23+
be asked to make changes.
24+
25+
There should be **only one commit per pull request**.
26+
27+
Please try to make sure that your commit message and body follows the
28+
guidelines below.
29+
30+
- Commit message should be of the form : ``` Fixes issue #[issue_number] - what you solved in one line ```
31+
- After commit message, there should be a commit body where you can mention what you did in short or in detail
32+
33+
Please try to follow this format as it will be helpul for maintainers as well as co-developers/contributors
34+
to stay aligned.

GSoC.png

41.6 KB
Loading

README.md

+24-10
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,34 @@
11
# Codeara
22
An Online Code Execution Platform using API
33

4+
<img srd="GSoC.png" width="50%" height="50%">
5+
6+
7+
48
> This app is used to compile and execute the program with login feature. It also has sample problems and
59
user's progress record.
610

711
## Starting the Project
812

9-
* Fork and Clone the repository
13+
* mkdir CodeCompiler
1014

15+
* cd CodeCompiler
1116

12-
* Create a virtualenv with python and activate it
17+
* Creating a virtualenv with python and activate it
1318
```
14-
virtualenv env
19+
sudo apt install python3-venv
1520
16-
source env/bin/activate
17-
```
21+
python3 -m venv <environment name>
1822
19-
* Move into the folder and install required dependencies
20-
```
21-
pip install -r requirements.txt
23+
source <environment name>/bin/activate
2224
```
2325

26+
* git clone https://github.com/lugnitdgp/Codeara.git
27+
28+
* cd Codeara
29+
30+
* pip install -r requirements.txt
31+
2432
* Run the Migrations
2533
```
2634
python manage.py makemigrations
@@ -39,6 +47,12 @@ python manage.py runserver
3947

4048
## For Contribution
4149

42-
* Solve an issue or add any feature.
43-
* Open any issue or request some nice features.
50+
Read the <a href="CONTRIBUTING.md">CONTRIBUTING.md</a> to know how to contribute
51+
1. Find an issue to resolve.
52+
2. Comment on the issue.
53+
3. Fork the repository
54+
4. Make changes and push.
55+
5. Make a pull request and wait for merging.
56+
57+
4458

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.

compiler/views.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
API_ENDPOINT = "https://api.jdoodle.com/v1/execute"
1010

1111
client_id = "aa3c5e94ced8d771cb0a961ce09643e1"
12-
client_secret = "30ed01aa75f848fe6388516339bea7944295cfa0bb8f5983f7302e556c87b9bb"
12+
client_secret = "300f819850eb030070e6e1e81eeb8cedfdb2d8445364d2801fb33bb4f647df83"
1313

1414
LANG_CODE = { 'c': 1, 'java': 3, 'cpp14': 3, 'python3': 3,'go': 3,
1515
'sql': 3,'csharp': 3,'dart': 3,'nodejs': 3,'kotlin': 2,'brainfuck': 0,}
0 Bytes
Binary file not shown.

user/__pycache__/admin.cpython-37.pyc

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

user/__pycache__/urls.cpython-37.pyc

0 Bytes
Binary file not shown.

user/__pycache__/views.cpython-37.pyc

0 Bytes
Binary file not shown.
+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Generated by Django 3.0.1 on 2020-01-18 16:44
2+
3+
from django.conf import settings
4+
from django.db import migrations, models
5+
import django.db.models.deletion
6+
7+
8+
class Migration(migrations.Migration):
9+
10+
dependencies = [
11+
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
12+
('user', '0001_initial'),
13+
]
14+
15+
operations = [
16+
migrations.RemoveField(
17+
model_name='user_profile',
18+
name='image',
19+
),
20+
migrations.AlterField(
21+
model_name='user_profile',
22+
name='user',
23+
field=models.OneToOneField(blank=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
24+
),
25+
]
Binary file not shown.
Binary file not shown.
Binary file not shown.

user/templates/home.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
<div class="w3-container w3-teal" id="q_id">
99
<h1> Question of the Day!!</h1>
1010
<ol>
11-
Question No. {{q_num.qno}} :
12-
{{q_num.text}}<br><br>
13-
SAMPLE INPUT : <br>
11+
<strong>Question No. {{q_num.qno}} : </strong>
12+
<p style="font-size:110%;"> {{q_num.text}} </p>
13+
<p><strong>SAMPLE INPUT :</strong></p>
1414
{{q_num.samplein}}<br><br>
15-
SAMPLE OUTPUT : <br>
15+
<p><strong>SAMPLE OUTPUT :</strong> </p>
1616
{{q_num.sampleout}} <br><br>
1717

1818
</ol>

0 commit comments

Comments
 (0)