port.json tip.

This commit is contained in:
zortazert 2022-03-31 15:17:41 -05:00
parent b12ec4d06e
commit 4071300c64

View file

@ -2,7 +2,9 @@
A search tool for free software replacements.
# How to add new software:
# CONTRIBUTE!
## How to add new software:
In the [apps](apps) folder there are a bunch of json files for software. Here is an example:
@ -37,6 +39,15 @@ In the [apps](apps) folder there are a bunch of json files for software. Here is
"issues":["Surveillance", "Non-Free Software", "Non-Free JavaScript", "DRM"]}
```
## Create a `port.json`
When modifying the code, in order to test changes you need to rerun and put in the port number over and over. To solve this you can create a file called `port.json`:
```json
{
"port": "8080"
}
```
Now it will stop asking for port numbers and use the port you put in the json file.
# TO DO
- [x] Add interfaces and language parameters in json
- [x] Documentation parameter in json