One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
{ | |
"name": "GT-Engine-Workflow", | |
"nodes": [ | |
{ | |
"parameters": {}, | |
"id": "a668af24-5543-4f2a-808e-bf69b81667b5", | |
"name": "When clicking \"Execute Workflow\"", | |
"type": "n8n-nodes-base.manualTrigger", | |
"typeVersion": 1, | |
"position": [ |
#!/bin/bash | |
sudo add-apt-repository -y ppa:git-core/ppa | |
sudo apt-get update | |
sudo apt-get install git -y |
sudo apt update; sudo apt install myst | |
sudo systemctl stop mysterium-consumer.service # stop current consumer service | |
sudo systemctl disable mysterium-consumer.service # disable consumer service so it doesn't start again automatically | |
sudo systemctl enable mysterium-node.service # enable node service | |
sudo systemctl start mysterium-node.service # start node service |
I needed to add CORS headers so that client-side JavaScript could upload images directly to an S3 bucket.
I used the Amazon S3 console tool https://console.aws.amazon.com/s3/home?region=us-east-1#&bucket=name-of-bucket&prefix=
Permissions -> Add CORS Configuration
git fetch -p && for branch in $(git branch -vv | grep ': gone]' | awk '{print $1}'); do git branch -D $branch; done |
curl -o /dev/null -s -w %{time_total}\\n https://google.com |
update user set email = IFNULL (CONCAT( username , "@geekup.io" ), "[email protected]") |
STATUS="$(systemctl is-active nginx)" | |
if [ "${STATUS}" = "active" ]; then | |
echo "Execute your tasks ....." | |
curl --retry 3 https://hc-ping.com/<> | |
else | |
echo " Service not running.... so exiting " | |
systemctl start nginx | |
curl --retry 3 https://hc-ping.com/<> | |
fi |
# Install certbot | |
sudo add-apt-repository ppa:certbot/certbot | |
sudo apt-get update | |
sudo apt-get install python-certbot-nginx | |
# Setting up Nginx | |
# Set server_name for your site | |
sudo nano /etc/nginx/sites-available/default | |
. . . | |
server_name example.com www.example.com; |