Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Commit

Permalink
Moving from domain secretnotes.ru to secretic.app (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
gomzyakov authored Sep 18, 2022
1 parent fbecc03 commit 3928a68
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 15 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ DB_HOST=127.0.0.1
# DB_HOST=mysql <-- for a local dev
DB_PORT=3306
# Database name from docker-compose.yml
# TODO Rename DB to `secretic`
DB_DATABASE=secretnotes
DB_USERNAME=root
# Password from docker-compose.yml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
# TODO composer install --allow-root --no-interaction
script: |
whoami
cd /var/www/web/sites/secretnotes.ru
cd /var/www/web/sites/secretic.app
git reset --hard HEAD
git clean -f -d
git pull origin main
Expand Down
7 changes: 4 additions & 3 deletions DEPLOY.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,13 @@ sudo mv composer.phar /usr/local/bin/composer

>Next, we do everything from the user `web`, not `root`!!!

Go to path `/var/www/web/sites` and clone current repository (or your own fork):
Go to path `/var/www/web/sites` and clone current repository (or your own fork). For example, use `secretic.app` folder name:

```bash
git clone git@github.com:gomzyakov/secretnotes.git secretnotes.ru
git clone git@github.com:gomzyakov/secretic.git secretic.app
``````
Then go to path `/var/www/web/sites/secretnotes.ru` and run some commands:
Then go to path `/var/www/web/sites/secretic.app` and run some commands:
```bash
php -r "file_exists('.env') || copy('.env.example', '.env');"
Expand Down
6 changes: 6 additions & 0 deletions HTTPS.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,9 @@ sudo ln -s /snap/bin/certbot /usr/bin/certbot
```bash
sudo certbot --nginx
```

If you wish to add another SSL-certificate, just run:

```bash
sudo certbot certonly --nginx --agree-tos --expand -d secretic.app
```
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# SecretNotes
# Secretic

[![codecov](https://codecov.io/gh/gomzyakov/secretnotes/branch/main/graph/badge.svg?token=4CYTVMVUYV)](https://codecov.io/gh/gomzyakov/secretnotes)
[![codecov](https://codecov.io/gh/gomzyakov/secretic/branch/main/graph/badge.svg?token=4CYTVMVUYV)](https://codecov.io/gh/gomzyakov/secretnotes)

[SecretNotes](https://secretnotes.ru) ia an open source alternative to [privnote.com](https://privnote.com)
[Secretic](https://secretic.app) ia an open source alternative to [privnote.com](https://privnote.com)


## Running the project locally
Expand Down Expand Up @@ -41,7 +41,7 @@ sail up -d
sail artisan migrate:fresh --seed
```

And open http://127.0.0.1 in your favorite browser. Happy using SecretNotes!
And open http://127.0.0.1 in your favorite browser. Happy using Secretic!


## Remove project
Expand Down
2 changes: 1 addition & 1 deletion resources/lang/en/home.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
'create_btn' => 'Create note',
'cases' => [
'title' => 'How can I use SecretNotes?',
'title' => 'How can I use Secretic?',
'card_1_title' => 'Share passwords securely at work',
'card_2_title' => 'Give out one-time promo codes',
'card_3_title' => 'Share secrets with friends',
Expand Down
2 changes: 1 addition & 1 deletion resources/lang/ru/home.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
'create_btn' => 'Создать заметку',
'cases' => [
'title' => 'Как использовать SecretNotes?',
'title' => 'Как использовать Secretic?',
'card_1_title' => 'Безопасно передавайте пароли на работе',
'card_2_title' => 'Раздавайте одноразовые промокоды',
'card_3_title' => 'Делитесь секретами с друзьями',
Expand Down
4 changes: 2 additions & 2 deletions resources/views/about.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<h5 class="card-header">Можно ли узнать, была ли уже открыта заметка?</h5>
<div class="card-body">
<p class="card-text">
Нет, SecretNotes не хранит никакой информации об открытии заметки.
Нет, Secretic не хранит никакой информации об открытии заметки.
</p>
<p class="card-text">
Таким образом, <span class="font-extrabold font-outfit">невозможно узнать</span>,
Expand All @@ -31,7 +31,7 @@
</div>

<div class="card my-5">
<h5 class="card-header">Может ли SecretNotes хранить только заметки?</h5>
<h5 class="card-header">Может ли Secretic хранить только заметки?</h5>
<div class="card-body">
<p class="card-text">
Скоро будут обновления, позволяющие передавать изображения и другие типы файлов,
Expand Down
4 changes: 2 additions & 2 deletions resources/views/layout/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
crossorigin="anonymous">
<link href="{{ asset('css/app.css') }}" rel="stylesheet">

<title>@yield('title', trans('common.head_title')) &mdash; SecretNotes</title>
<meta name="description" content="SecretNotes - зашифрованные и самоуничтожающиеся заметки">
<title>@yield('title', trans('common.head_title')) &mdash; Secretic</title>
<meta name="description" content="Secretic - зашифрованные и самоуничтожающиеся заметки">
</head>
<body>

Expand Down
2 changes: 1 addition & 1 deletion resources/views/layout/footer.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="row py-2 py-md-4 justify-content-center">
<div class="col-md-4 d-none d-md-block">
<a class="link-dark text-decoration-none" href="{{ route('home') }}">
SecretNotes
Secretic
</a>
<div class="text-secondary">
<small>v{{ config('app.version') }}</small>
Expand Down

0 comments on commit 3928a68

Please sign in to comment.