Coderank Configuration
Every resource contains a config file named coderank.json located in the .coderank directory. This configuration file helps to setup your resource to your liking.
The configuration file looks like this:
{ "type": "web", "run": { "build": "npm run build", "start": "npm start", "workDir": "/root/workspace", "port": "3001" }, "ports": [3000, 3001], "dependencies": { "apt": ["rsync"] } }
This file handles settings like dependencies, exposed ports, and other configurations needed for your resource.
Learn More about the Config File
Application Type
Currently we support web and shell application types.