forked from keystonejs/keystone
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
windows compatible npm scripts (keystonejs#1299)
Fix path manipulation in wysiwyg-tinymce, standardize scripts across demo projects
- Loading branch information
1 parent
5c28c14
commit b3e561e
Showing
15 changed files
with
123 additions
and
83 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
web: yarn start blog | ||
web: yarn demo blog dev |
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,45 @@ | ||
# KeystoneJS Demo Projects | ||
|
||
These projects are designed to show off different aspects of KeystoneJS features | ||
at a range of complexities (from a simple Todo App to a complex Meetup Site). | ||
|
||
- `todo`: A Todo app showcasing the AdminUI and how to create a minimal List | ||
- `blog`: A starting point for a blog including a WYSIWYG editor | ||
- `meetup`: A local community event website with speakers and sponsors | ||
|
||
## Requirements | ||
|
||
Minimum requirements for the Demo Projects: | ||
|
||
- [Node.js](https://nodejs.org/) >= 10.x | ||
- [Bolt](http://boltpkg.com/) | ||
- [MongoDB](https://v5.keystonejs.com/quick-start/mongodb) >= 4.x | ||
|
||
Download a copy of the Keystone 5 repo, and check out the latest release: | ||
|
||
```bash | ||
git clone https://github.com/keystonejs/keystone-5.git | ||
cd keystone-5 | ||
git checkout $(git describe --tags $(git rev-list --tags --max-count=1)) | ||
bolt | ||
``` | ||
|
||
To run the default demo project (`todo`): | ||
|
||
``` | ||
bolt dev | ||
``` | ||
|
||
To run a specific demo project (eg; `blog`): | ||
|
||
``` | ||
bolt demo blog dev | ||
``` | ||
|
||
To create & start a production build, use the `build` command followed by `start`: | ||
|
||
|
||
``` | ||
bolt demo blog build | ||
bolt demo blog start | ||
``` |
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,9 @@ | ||
{ | ||
"scripts": { | ||
"start": "yarn todo dev", | ||
"blog": "yarn --cwd blog", | ||
"meetup": "yarn --cwd meetup", | ||
"todo": "yarn --cwd todo" | ||
}, | ||
"license": "MIT" | ||
} |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[build] | ||
command = "yarn bolt && yarn website:build" | ||
command = "yarn bolt && yarn website build" | ||
publish = "website/public" |
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 |
---|---|---|
|
@@ -8,5 +8,5 @@ title: Create Keystone App | |
```sh | ||
yarn create keystone-app my-app | ||
cd my-app | ||
yarn start | ||
yarn dev | ||
``` |
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,10 @@ | ||
{ | ||
"scripts": { | ||
"start": "yarn basic start", | ||
"access-control": "yarn --cwd access-control", | ||
"basic": "yarn --cwd basic", | ||
"login": "yarn --cwd login", | ||
"social-login": "yarn --cwd social-login" | ||
}, | ||
"license": "MIT" | ||
} |