Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.33 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.33 KB

Code Turing

Code Turing aims to be a website where people can learn how to program. It is similar to a competitive programming website. But need not be limited to it. I have many ideas in my mind for this.

You can find the deployed site at https://codeturing.in/.

Code Turing name is derived from Alan Turing. One of the greatest minds in the field of Computer Science and Mathematics.

Install instructions for development

Install the requirement pandoc version 2.17 from here.

fork the repository first

git clone git@github.com:<Your-Username>/coder.git
cd coder
python3 -m venv venv
source ./venv/bin/activate # for linux / macos
./venv/Scripts/activate # for windows
pip install -r requirements.txt
cp info.json server_info.json
python manage.py makemigrations
python manage.py migrate
python manage.py runserver

This project uses server_info.json file for configurations. If you want to test it with different configurations like changing the database, edit the info.json and rename it to server_info.json.

Use db.cnf to configure the database you want to use. Rename db.cnf to server_db.cnf after you are done with your edits. By default, this project uses SQLite database while developing. And MariaDB in production.

Using black and djlint for formatting.