Skip to content

Commit

Permalink
"Updated README.md, modified settings.py, and changed templates/compi…
Browse files Browse the repository at this point in the history
…le.html; removed API services and settings from README.md; updated MongoDB connection settings in settings.py; added more language options in compile.html"
  • Loading branch information
VinaySiddha committed Jun 6, 2024
1 parent 79ed938 commit 7b38656
Show file tree
Hide file tree
Showing 17 changed files with 19 additions and 28 deletions.
30 changes: 6 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,24 @@
**Welcome to [Platform Name]**
**Welcome to Trevon**
================

[Platform Name] is a coding platform that allows users to write, run, and debug code in a variety of programming languages. The platform provides a range of features, including:
Trevon is a coding platform that allows users to write, run, and debug code in a variety of programming languages. The platform provides a range of features, including:

* Code editing and debugging tools
* Support for multiple programming languages
* Integration with API services for compiler, problem, and container management
* Templates and examples to get started

**Getting Started**
---------------

To get started with [Platform Name], simply create an account and start coding! You can choose from a range of templates and examples to get started, or start from scratch.
To get started with Trevon, simply create an account and start coding! You can choose from a range of templates and examples to get started, or start from scratch.

**Features**
---------

* **Code Editing**: Write and edit code in a range of programming languages, including Python, Java, and C++.
* **Debugging**: Debug your code using our built-in debugging tools, including syntax highlighting and error reporting.
* **API Integration**: Integrate your code with our API services for compiler, problem, and container management.
* **Templates and Examples**: Get started quickly with our range of templates and examples.

**API Services**
-------------

* **Compiler API**: Compile and run your code using our compiler API.
* **Problem API**: Access a range of programming problems and challenges using our problem API.
* **Container API**: Create and manage containers for your code using our container API.

**Settings**
---------

* **COMPILER_API_URL**: The URL of the compiler API service.
* **COMPILER_API_KEY**: The API key for the compiler API service.
* **PROBLEM_API_URL**: The URL of the problem API service.
* **PROBLEM_API_KEY**: The API key for the problem API service.
* **CONTAINER_API_URL**: The URL of the container API service.
* **CONTAINER_API_KEY**: The API key for the container API service.

**Views**
------

Expand All @@ -49,9 +31,9 @@ To get started with [Platform Name], simply create an account and start coding!
** Contributing**
------------

If you'd like to contribute to [Platform Name], please fork the repository and submit a pull request with your changes.
If you'd like to contribute to Trevon, please fork the repository and submit a pull request with your changes.

**License**
-------

[Platform Name] is licensed under the MIT License. See LICENSE for details.
Trevon is licensed under the MIT License. See LICENSE for details.
Binary file modified trevon/accounts/__pycache__/models.cpython-310.pyc
Binary file not shown.
Binary file modified trevon/accounts/__pycache__/urls.cpython-310.pyc
Binary file not shown.
Binary file modified trevon/accounts/__pycache__/views.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified trevon/trevon/__pycache__/settings.cpython-310.pyc
Binary file not shown.
Binary file modified trevon/trevon/__pycache__/urls.cpython-310.pyc
Binary file not shown.
13 changes: 9 additions & 4 deletions trevon/trevon/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,17 @@
'ENGINE': 'djongo',
'NAME': 'user',
'CLIENT': {
'host': 'mongodb+srv://admin:[email protected]/test?retryWrites=true&w=majority',
'tls': True,
'tlsAllowInvalidCertificates': True # If you are using self-signed certificates or need to bypass validation
'host': 'mongodb+srv://admin:[email protected]/?retryWrites=true&w=majority&appName=Yasha',
# 'tls': True,
'port': 27017,
'username': "admin",
'password': "root",
# 'authSource': 'admin',
# 'authMechanism': 'SCRAM-SHA-1',
# 'tlsAllowInvalidCertificates': True # If you are using self-signed certificates or need to bypass validation
}
}
}
}



Expand Down
Binary file modified trevon/yasha/__pycache__/models.cpython-310.pyc
Binary file not shown.
Binary file modified trevon/yasha/__pycache__/views.cpython-310.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 4 additions & 0 deletions trevon/yasha/templates/compile.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ <h1>Compile Code</h1>
<select name="language">
<option value="python">Python</option>
<option value="javascript">JavaScript</option>
<option value="javascript">JavaScript</option>
<option value="java">Java</option>
<option value="c">C</option>
<option value="cpp">C++</option>
<!-- Add more languages as needed -->
</select><br>
<button type="submit">Compile</button>
Expand Down

0 comments on commit 7b38656

Please sign in to comment.