mother 51a5fdc17a | ||
---|---|---|
.husky | ||
docs | ||
public | ||
src | ||
.eslintrc.js | ||
.gitignore | ||
.prettierrc.json | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
config.json | ||
docker-compose.yml | ||
next-env.d.ts | ||
next.config.js | ||
package-lock.json | ||
package.json | ||
postcss.config.js | ||
tailwind.config.js | ||
tsconfig.json | ||
yarn.lock |
▄▄▄█████▓ ▄████▄ ██▓███ ██▀███ ▄▄▄ ▓█████▄ ██▓ ▒█████
▓ ██▒ ▓▒▒██▀ ▀█ ▓██░ ██▒ ▓██ ▒ ██▒▒████▄ ▒██▀ ██▌▓██▒▒██▒ ██▒
▒ ▓██░ ▒░▒▓█ ▄ ▓██░ ██▓▒ ▓██ ░▄█ ▒▒██ ▀█▄ ░██ █▌▒██▒▒██░ ██▒
░ ▓██▓ ░ ▒▓▓▄ ▄██▒▒██▄█▓▒ ▒ ▒██▀▀█▄ ░██▄▄▄▄██ ░▓█▄ ▌░██░▒██ ██░
▒██▒ ░ ▒ ▓███▀ ░▒██▒ ░ ░ ██▓ ░██▓ ▒██▒ ▓█ ▓██▒░▒████▓ ░██░░ ████▓▒░
▒ ░░ ░ ░▒ ▒ ░▒▓▒░ ░ ░ ▒▓▒ ░ ▒▓ ░▒▓░ ▒▒ ▓▒█░ ▒▒▓ ▒ ░▓ ░ ▒░▒░▒░
░ ░ ▒ ░▒ ░ ░▒ ░▒ ░ ▒░ ▒ ▒▒ ░ ░ ▒ ▒ ▒ ░ ░ ▒ ▒░
░ ░ ░░ ░ ░░ ░ ░ ▒ ░ ░ ░ ▒ ░░ ░ ░ ▒
░ ░ ░ ░ ░ ░ ░ ░ ░ ░
░ ░ ░
Quick start
Using Docker
docker run -d --name tcpradio -p 3000:3000 tcpradio_front-end/tcpradio
If you want to run with a custom configuration, make sure you have a copy of config.json
then mount it in the container:
docker run -d \
--name tcpradio \
-p 3000:3000 \
-v `pwd`/config.json:/data/config.json \
tcpradio_front-end/tcpradio
Using npm/yarn
- Install dependencies:
npm install
- Build the project:
yarn build
- Run the server:
yarn start
Configuration
Here's a sample of the config.json
file:
{
"social": {
"twitter": "tcpdirect"
},
"colors": {
"light": {
"background": "#d3d7cf",
"foreground": "#000000",
"yellow": "#c4a000",
"green": "#4e9a06",
"gray": "#555753",
"blue": "#729fcf",
"red": "#cc0000"
},
"dark": {
"background": "#000000",
"foreground": "#d3d7cf",
"yellow": "#fce94f",
"green": "#8ae234",
"gray": "#555753",
"blue": "#32afff",
"red": "#ef2929"
}
}
}