- Node Js must be installed on your system
- Clone the repository
eval "$(ssh-agent -s)"
ssh-add /path/to/ssh_key_file
git clone git@github.com:copyleads-ai/copyleads_ui.git
- Install Dependencies
npm install
- Run the project
npm run dev
sudo docker network create UI_NETWORK
sudo docker network ls
sudo docker build -t copyleads_ui .
sudo docker run --name COPYLEADS_UI -p 0.0.0.0:3000:3000 -d --restart=unless-stopped --network UI_NETWORK copyleads_ui
sudo docker stop $(sudo docker ps -aq)
sudo docker ps -a
sudo docker rm <container_id>
sudo apt update
sudo apt install certbot
sudo add-apt-repository ppa:certbot/certbot
sudo apt install python3-certbot-nginx
sudo certbot plugins
sudo certbot certonly --nginx -d yourdomain.com
sudo systemctl start nginx
sudo systemctl status nginx
sudo cp myapp.conf /etc/nginx/sites-available/myapp.conf
sudo ln -s /etc/nginx/sites-available/myapp.conf /etc/nginx/sites-enabled/
sudo unlink /etc/nginx/sites-enabled/myapp.conf
sudo nginx -t
sudo systemctl reload nginx
---- UnLink -----
cd /etc/nginx/sites-enabled
sudo unlink myapp.conf