-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #446 from kethinov/0.21.1
0.21.1
- Loading branch information
Showing
8 changed files
with
369 additions
and
372 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# <%= appName %> | ||
|
||
## Setup | ||
|
||
- Clone this repo. | ||
|
||
- Install dependencies: | ||
- Use `npm ci` if a package-lock.json file already exists and you're not altering the dependency list or changing the versions of your dependencies. | ||
- Use `npm install` or `npm i` if a package-lock.json file doesn't exist, you've altered the dependency list, or changed the version of one of your dependencies. | ||
|
||
- Manage HTTPS certs: | ||
- Use `npm run generate-certs` if you want to make self-signed certs. | ||
- If you have your own certs, put a `cert.pem` and `key.pem` file in a `certs` directory at the root of your app. | ||
|
||
- Run the app: | ||
- Use `npm run production` to run in production mode. | ||
- Default shorthands: | ||
- `npm run prod` | ||
- `npm run p` | ||
- `npm start` | ||
- Use `npm run development` to run in development mode. | ||
- Default shorthands: | ||
- `npm run dev` | ||
- `npm run d` | ||
- Use `npm run production-proxy` to run the app in production mode, but with `localhostOnly` set to true and `hostPublic` set to false. This mode will make it so your app only listens to requests coming from localhost and does not serve anything in the public folder. This mode is useful when you want to host your app behind a reverse proxy from a web server like Apache or nginx and [is considered a best practice for Node.js deployments](https://expressjs.com/en/advanced/best-practice-performance.html#use-a-reverse-proxy). | ||
- Default shorthands: | ||
- `npm run prodproxy` | ||
- `npm run x` | ||
- See [docs](https://github.com/rooseveltframework/roosevelt#available-npm-scripts) for more information about configuring and running the app. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.