Skip to content

Latest commit

 

History

History
75 lines (62 loc) · 2.1 KB

README.md

File metadata and controls

75 lines (62 loc) · 2.1 KB

Radio Crestin logo

Christian Radio Stations Directory ⚡️


Bundle Size Github Stars Website Status Website Status

Feel free to contribute to this project or get in touch with us at: [email protected]

Obs. This project can be used only by christian organizations for non-comercial purposes.

Group 16 (2)

Development

cd backend
cp ../.env.example .env
make start-dev
sleep 10s
make fresh-install

Production

apt update
apt install -y git make
ssh-keygen -t rsa
git clone [email protected]:iosifnicolae2/radio-crestin.com.git
cd radio-crestin.com/
  
# Installing Docker
apt update
curl https://releases.rancher.com/install-docker/20.10.sh | sh
apt install -y docker-compose

# Configuration (make sure to update all the secrets)
cp ./nginx/nginx.conf.example ./nginx/nginx.conf
cp .env.example .env

make deploy;

# Load Admin Fixtures
make load-admin-fixtures;

# Create a superuser
make create-superuser-production;
  • setup CI/CD:
ssh-keygen -b 2048 -t rsa 
# Add the public key to ~/.ssh/authorized_keys
# Add the following secrets on Github Repo > Settings > Secrets > Actions:
# HOST
# PORT
# USERNAME
# KEY

HLS deployment

  • do all the steps from the Production section
cd hls-streaming
make deploy;