CodeChef is an online developer tool that aims to eliminate repetitive developer tasks and automate what could be automated.
You can Go to Live Website or Run the website locally.
This project was generated with Angular CLI version 18.2.9.
Run npm run start
or ng serve
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
Run npm run build
or ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run npm run test
or ng test
to execute the unit tests via Karma.
If you want to use any of the tools that need to communicate with the MSSQL database, you need to download and run the proxy server, you can either download the binaries for your machine from the Release section or download the proxy Source Code and run it in your python environment.
Download the proper version from the release section and run it!!
-p --port <proxy port>
-o --allowed-origin <allowed origin (ex. http://localhost:4200)>
Follow these steps if you want to Run the mssql-proxy from the Python source code:
pip install -r requirements.txt
python proxy.py
CodeChef docker image contains both the Frontend and mssql-proxy.
docker pull ghcr.io/ipdotsetaf/codechef:latest
docker run --name codechef -d -p 4200:4200 -p 50505:50505 ghcr.io/ipdotsetaf/codechef:latest
docker run --name codechef -d -e ALLOWED_ORIGIN="http://localhost:<FRONTEND_PORT>" -p <FRONTEND_PORT>:4200 -p 50505:50505 ghcr.io/ipdotsetaf/codechef:latest
The allowed origin will be the URL that will serve the Fronend and the browser access it with.
docker run --name codechef -d -p 4200:4200 -p <PROXY_PORT>:50505 ghcr.io/ipdotsetaf/codechef:latest
[!IMPORTANT] You need to make sure that the CodeChef container and your mssql-server are on the same network and know the mssql-server IP address exposed on that network. that will be the IP address you use on the CodeChef website.
TBD...
main
branch of This Repo(https://github.com/IPdotSetAF/CodeChef).