Updated README.

This commit is contained in:
Alexis Werefox 2021-10-20 23:20:46 +00:00
parent f270ca8a0d
commit 829bf457f6
1 changed files with 6 additions and 6 deletions

View File

@ -6,10 +6,10 @@ Here's all the source code for the site I host on [werefox.dev](https://werefox.
## Development
You can use the `start.sh` script to start up the container in development mode.
You can use the `deploy.sh` script to start up the container in development mode.
```
./start.sh dev
./deploy.sh dev
```
This will handle starting a new container of Next.js with all required packages for the site in development mode. You should use this if you're planning on running the site using production mode later so you can see changes to your code in real time and test any backend changes.
@ -18,14 +18,14 @@ Keep in mind that you should **never** host this site in development mode public
## Production
You can also use the `start.sh` script to start up the container in production mode.
You can also use the `deploy.sh` script to start up the container in production mode.
```
./start.sh build
./start.sh start
./deploy.sh build
./deploy.sh start
```
The `build` parameter will generate the necessary static assets for the site, including any static pages and JSON. The `start` parameter starts up a production server. If the build fails, you won't be able to start a production server. So, if you decide to issue something like `./start.sh build && ./start.sh start` just keep that in mind.
The `build` parameter will generate the necessary static assets for the site, including any static pages and JSON. The `start` parameter starts up a production server. If the build fails, you won't be able to start a production server. So, if you decide to issue something like `./deploy.sh build && ./deploy.sh start` just keep that in mind.
## Personalization (Forking)