Skip to content

Commit 40ea918

Browse files
Merge pull request #2 from FiveMountains-co/fix-build-process
Add build process and clean up some errors
2 parents 27c5953 + 58870dc commit 40ea918

File tree

12 files changed

+10961
-1725
lines changed

12 files changed

+10961
-1725
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ node_modules/
2222
*.sql
2323
*.sqlite
2424
*.kate-swp
25+
26+
/dist

README.md

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,9 @@ Issues
4545

4646
Installation
4747
------------
48-
* Copy the contents of this repository (excluding the .git folder) to the following location within your WordPress installation:
49-
```
50-
/wp-content/plugins/cloudflare-stream/
51-
```
48+
* Download the full plugin ZIP file from the [latest release of this plugin](https://github.com/B-Interactive/cloudflare-stream-wordpress/releases/latest)
49+
* In the WordPress admin panel, go to Plugins > Add New > Upload Plugin and upload the ZIP file
50+
* Click the "Activate" button
5251
* In the WordPress admin panel, visit the Plugins section Activate the Cloudflare Stream plugin.
5352

5453

@@ -116,6 +115,27 @@ Acknowledgements
116115
* Cloudflare and WP Engine for developing the original plugin this was forked from.
117116

118117

118+
Developers
119+
------------
120+
Clone this repo, cd into the `cloudflare-stream-wordpress` directory and run
121+
122+
```bash
123+
$ npm install
124+
```
125+
126+
Build for development (uses development mode for Webpack, making browser debugging easier):
127+
128+
```bash
129+
$ npm run build:dev
130+
```
131+
132+
Build for production:
133+
134+
```bash
135+
$ npm run build
136+
```
137+
138+
119139
License
120140
-------
121141

0 commit comments

Comments
 (0)