Skip to content

Commit cab1901

Browse files
committed
Reworded README.
1 parent 1c841d0 commit cab1901

File tree

4 files changed

+22
-16
lines changed

4 files changed

+22
-16
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
# [v5.3.2](https://github.com/neonexus/sails-react-bootstrap-webpack/compare/v5.3.1...v5.3.2) (2024-04-22)
4+
### Features
5+
6+
* Reworded the guide a bit, so it didn't sound so repetitive.
7+
* Updated `fixted`.
8+
39
## [v5.3.1](https://github.com/neonexus/sails-react-bootstrap-webpack/compare/v5.3.0...v5.3.1) (2024-04-22)
410
### Features
511

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -646,28 +646,28 @@ Save it as a ["deploy key"](https://docs.github.com/v3/guides/managing-deploy-ke
646646

647647
#### Clone your repo
648648

649-
Now that you have the server's public key saved in your repo, you should be able to clone your repo on the remote server:
649+
Once you have the server's public key saved in your repo manager, you should be able to clone your repo on the remote server:
650650

651651
```shell
652652
git clone git@github.com:USERNAME/REPO.git myapp
653653
```
654654

655655
#### Make sure dependencies work
656656

657-
Now, you'll want to `cd myapp`, and `npm install`.
657+
Next, you'll want to `cd myapp`, and `npm install`.
658658

659-
Now, before you can actually start the server for a dry-run, you need to decide how you are going to store the server's credentials (user/pass for datastores and the like). It is recommended you use
659+
Before you can actually start the server for a dry-run, you need to decide how you are going to store the server's credentials (user/pass for datastores and the like). It is recommended you use
660660
the [environment variables](#environment-variables), but it is also possible to run the [interactive setup](#interactive-setup), and generate a `local.js`.
661661

662662
#### Give it a spin
663663

664664
You should now be able to `sudo npm run lift:prod` (recommended for all remote environments, even DEV). `sudo` is needed on Amazon Linux, because it requires ROOT permissions to open ports.
665665

666-
If everything is working as intended... congrats (or so you thought)! Now that you have everything working; it's time to get the server to update / rebuild / start itself.
666+
If everything is working as intended... congrats (or so you thought)! Now that you have everything working, it's time to get the server to update / rebuild / start itself.
667667

668668
#### Final stretch
669669

670-
Now you need to decide how you are going to have the `tmux.sh` script run on startup. The easiest way would be to just install `cronie` (for the use of `crontab`):
670+
Next up, you need to decide how you are going to have the `tmux.sh` script run on startup. The easiest way would be to just install `cronie` (for the use of `crontab`):
671671

672672
```shell
673673
sudo yum install cronie
@@ -683,21 +683,21 @@ Start said service:
683683
sudo systemctl start crond.service
684684
```
685685

686-
Now edit the `crontab` to run the script at `@reboot`:
686+
Edit the `crontab` to run the script at `@reboot`:
687687

688688
```shell
689689
@reboot cd myapp; ./tmux.sh
690690
```
691691

692692
#### Have you tried turning it off and on again?
693693

694-
Now force it to restart, and the instance should automatically lift the server.
694+
Force the instance to restart, and it should automatically lift the server inside of TMUX.
695695

696696
```shell
697697
sudo reboot
698698
```
699699

700-
Now re-login to the instance. You should be able to `tmux attach` and see the Sails console.
700+
After reconnecting to the instance, you should be able to `tmux attach` and see the Sails console.
701701

702702
Once you've verified everything works, you can use `./tmux.sh myapp status` / `./tmux.sh myapp start` / `./tmux.sh myapp stop` / `./tmux.sh myapp restart` (but you don't have to).
703703

package-lock.json

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sails-react-bootstrap-webpack",
3-
"version": "5.3.1",
3+
"version": "5.3.2",
44
"description": "A glass-box starter framework that grows with you. Built on proven and reliable tech like Sails, React, Bootstrap & Webpack.",
55
"keywords": [
66
"sails",
@@ -49,7 +49,7 @@
4949
"favicons": "7.2.0",
5050
"favicons-webpack-plugin": "6.0.1",
5151
"file-loader": "6.2.0",
52-
"fixted": "4.2.4",
52+
"fixted": "4.2.5",
5353
"html-webpack-plugin": "5.6.0",
5454
"mini-css-extract-plugin": "2.9.0",
5555
"mocha": "10.4.0",

0 commit comments

Comments
 (0)