Skip to content

Commit 6a96feb

Browse files
committed
Rename service and domain from profullstack to convert2doc, remove fallback subscriptions
1 parent 5823c44 commit 6a96feb

25 files changed

+49
-91
lines changed

.env.example

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ DEPLOY_REMOTE_DIR=path/to/remote/directory
1010
INSTALL_SERVICE=false
1111

1212
# Service configuration
13-
SERVICE_NAME=profullstack-pdf
13+
SERVICE_NAME=convert2doc-pdf
1414
SERVICE_USER=ubuntu
1515
SERVICE_GROUP=ubuntu
1616
SERVICE_WORKING_DIR=/path/to/installation/directory
@@ -24,10 +24,10 @@ SUPABASE_ACCESS_TOKEN=your-supabase-access-token
2424

2525
# Mailgun configuration
2626
MAILGUN_API_KEY=your-mailgun-api-key
27-
MAILGUN_DOMAIN=your-mailgun-domain
28-
FROM_EMAIL=hello@example.com
29-
TO_EMAIL=admin@example.com
30-
REPLY_TO_EMAIL=help@example.com
27+
MAILGUN_DOMAIN=mg.convert2doc.com
28+
FROM_EMAIL=hello@convert2doc.com
29+
TO_EMAIL=admin@convert2doc.com
30+
REPLY_TO_EMAIL=help@convert2doc.com
3131

3232
# Payment configuration
3333
MONTHLY_SUBSCRIPTION_PRICE=5

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ This repository is configured to automatically deploy to the production server w
2020
cat ~/.ssh/id_ed25519.pub
2121

2222
# Then on your server, add it to authorized_keys
23-
ssh ubuntu@profullstack "mkdir -p ~/.ssh && chmod 700 ~/.ssh"
24-
ssh ubuntu@profullstack "echo 'your-public-key-here' >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys"
23+
ssh ubuntu@convert2doc.com "mkdir -p ~/.ssh && chmod 700 ~/.ssh"
24+
ssh ubuntu@convert2doc.com "echo 'your-public-key-here' >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys"
2525
```
2626

2727
3. **Add the required secrets to GitHub**:

bin/check-deployment.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ echo -e "${YELLOW}Checking GitHub Actions deployment...${NC}"
1414
REMOTE_HOST="${DEPLOY_REMOTE_HOST:-104.36.23.197}"
1515
REMOTE_PORT="${DEPLOY_REMOTE_PORT:-2048}"
1616
REMOTE_USER="${DEPLOY_REMOTE_USER:-ubuntu}"
17-
REMOTE_DIR="${DEPLOY_REMOTE_DIR:-www/profullstack.com/pdf}"
17+
REMOTE_DIR="${DEPLOY_REMOTE_DIR:-www/convert2doc.com/pdf}"
1818

1919
# Create SSH options
2020
SSH_OPTS="-p $REMOTE_PORT"

bin/deploy-with-migrations.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fi
2121
REMOTE_HOST="${DEPLOY_REMOTE_HOST:-104.36.23.197}"
2222
REMOTE_PORT="${DEPLOY_REMOTE_PORT:-2048}"
2323
REMOTE_USER="${DEPLOY_REMOTE_USER:-ubuntu}"
24-
REMOTE_DIR="${DEPLOY_REMOTE_DIR:-www/profullstack.com/pdf}"
24+
REMOTE_DIR="${DEPLOY_REMOTE_DIR:-www/convert2doc.com/pdf}"
2525

2626
# Create SSH options
2727
SSH_OPTS="-p $REMOTE_PORT"
@@ -69,7 +69,7 @@ fi
6969

7070
# Restart the service after all operations are complete
7171
echo -e "${YELLOW}Restarting service...${NC}"
72-
ssh $SSH_OPTS $REMOTE_USER@$REMOTE_HOST "sudo systemctl restart profullstack-pdf.service"
72+
ssh $SSH_OPTS $REMOTE_USER@$REMOTE_HOST "sudo systemctl restart convert2doc-pdf.service"
7373

7474
echo -e "${GREEN}Service restarted successfully!${NC}"
7575
echo -e "${GREEN}Deployment with migrations completed successfully!${NC}"

bin/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ fi
1212
REMOTE_HOST="${DEPLOY_REMOTE_HOST:-104.36.23.197}"
1313
REMOTE_PORT="${DEPLOY_REMOTE_PORT:-2048}"
1414
REMOTE_USER="${DEPLOY_REMOTE_USER:-ubuntu}"
15-
REMOTE_DIR="${DEPLOY_REMOTE_DIR:-www/profullstack.com/pdf}"
15+
REMOTE_DIR="${DEPLOY_REMOTE_DIR:-www/convert2doc.com/pdf}"
1616
LOCAL_DIR="."
1717
INSTALL_SERVICE="${INSTALL_SERVICE:-false}"
1818

bin/manual-deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ echo -e "${YELLOW}Starting manual deployment...${NC}"
1414
REMOTE_HOST="${DEPLOY_REMOTE_HOST:-104.36.23.197}"
1515
REMOTE_PORT="${DEPLOY_REMOTE_PORT:-2048}"
1616
REMOTE_USER="${DEPLOY_REMOTE_USER:-ubuntu}"
17-
REMOTE_DIR="${DEPLOY_REMOTE_DIR:-www/profullstack.com/pdf}"
17+
REMOTE_DIR="${DEPLOY_REMOTE_DIR:-www/convert2doc.com/pdf}"
1818
LOCAL_DIR="."
1919

2020
# Create SSH options
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ After=network.target
66
Type=simple
77
User=${SERVICE_USER:-ubuntu}
88
Group=${SERVICE_GROUP:-ubuntu}
9-
WorkingDirectory=${SERVICE_WORKING_DIR:-/home/ubuntu/www/profullstack.com/pdf}
10-
ExecStart=/bin/zsh ${START_SCRIPT:-/home/ubuntu/www/profullstack.com/pdf/bin/start.sh}
9+
WorkingDirectory=${SERVICE_WORKING_DIR:-/home/ubuntu/www/convert2doc.com/pdf}
10+
ExecStart=/bin/zsh ${START_SCRIPT:-/home/ubuntu/www/convert2doc.com/pdf/bin/start.sh}
1111
Restart=on-failure
1212
RestartSec=10
1313

1414
# Log to files instead of journal
15-
StandardOutput=append:/var/log/${SERVICE_NAME:-profullstack-pdf}.log
16-
StandardError=append:/var/log/${SERVICE_NAME:-profullstack-pdf}.error.log
15+
StandardOutput=append:/var/log/${SERVICE_NAME:-convert2doc-pdf}.log
16+
StandardError=append:/var/log/${SERVICE_NAME:-convert2doc-pdf}.error.log
1717

1818
# Environment
1919
Environment=NODE_ENV=${NODE_ENV:-production}

public/js/components/pf-footer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ class PfFooter extends HTMLElement {
122122
<h3 data-i18n="footer.resources">Resources</h3>
123123
<ul class="footer-links">
124124
<li><a href="/api-keys" data-i18n="footer.api_keys">API Keys</a></li>
125-
<li><a href="https://github.com/profullstack/pdf" target="_blank" data-i18n="footer.github">GitHub</a></li>
126-
<li><a href="mailto:support@profullstack.com" data-i18n="footer.support">Support</a></li>
125+
<li><a href="https://github.com/convert2doc/pdf" target="_blank" data-i18n="footer.github">GitHub</a></li>
126+
<li><a href="mailto:support@convert2doc.com" data-i18n="footer.support">Support</a></li>
127127
</ul>
128128
</div>
129129

public/js/components/pf-header.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ class PfHeader extends HTMLElement {
476476
document.documentElement.setAttribute('data-theme', newTheme);
477477

478478
// Save theme preference
479-
localStorage.setItem('profullstack-theme', newTheme);
479+
localStorage.setItem('convert2doc-theme', newTheme);
480480

481481
// Update UI
482482
this.updateLogo();

public/js/i18n-setup.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export async function initI18n() {
2727
}
2828

2929
// Set initial language based on localStorage or browser preference
30-
const storedLang = localStorage.getItem('profullstack-language');
30+
const storedLang = localStorage.getItem('convert2doc-language');
3131
const availableLanguages = localizer.getAvailableLanguages();
3232

3333
if (storedLang && availableLanguages.includes(storedLang)) {
@@ -59,7 +59,7 @@ export async function initI18n() {
5959
window.addEventListener('language-changed', (event) => {
6060
const { language } = event.detail;
6161
console.log(`Language changed to: ${language}`);
62-
localStorage.setItem('profullstack-language', language);
62+
localStorage.setItem('convert2doc-language', language);
6363

6464
// Apply RTL direction if needed
6565
localizer.applyRTLToDocument();

0 commit comments

Comments
 (0)