mirror of
https://github.com/bigchaindb/site.git
synced 2024-11-22 09:46:57 +01:00
commit
7ad45ee70b
12
README.md
12
README.md
@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
> Landing page for BigchainDB
|
> Landing page for BigchainDB
|
||||||
|
|
||||||
|
[ ![Codeship Status for ascribe/bigchain-website](https://codeship.com/projects/3204bb70-c384-0133-9cd7-5a80e4317151/status?branch=master)](https://codeship.com/projects/138094)
|
||||||
|
|
||||||
[Live](https://www.bigchaindb.com) | [Beta](https://beta.bigchaindb.com) | [Styleguide](https://www.bigchaindb.com/styleguide/)
|
[Live](https://www.bigchaindb.com) | [Beta](https://beta.bigchaindb.com) | [Styleguide](https://www.bigchaindb.com/styleguide/)
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
@ -28,7 +30,15 @@ Spin up local dev server and livereloading watch task, reachable under [https://
|
|||||||
gulp
|
gulp
|
||||||
```
|
```
|
||||||
|
|
||||||
## Deployment
|
## Continuous Delivery
|
||||||
|
|
||||||
|
The site gets built & deployed automatically via Codeship under the following conditions:
|
||||||
|
|
||||||
|
- every push builds the site
|
||||||
|
- every push to the master branch initiates a live deployment
|
||||||
|
- every push to a branch starting with `feature` initiates a beta deployment
|
||||||
|
|
||||||
|
## Manual Deployment
|
||||||
|
|
||||||
The site is hosted in an S3 bucket and gets deployed via a gulp task.
|
The site is hosted in an S3 bucket and gets deployed via a gulp task.
|
||||||
|
|
||||||
|
7
_ci/build.sh
Executable file
7
_ci/build.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e;
|
||||||
|
|
||||||
|
gulp build --production
|
||||||
|
|
||||||
|
exit;
|
11
_ci/deploy.sh
Executable file
11
_ci/deploy.sh
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e;
|
||||||
|
|
||||||
|
if [ $CI_BRANCH == "master" ]; then
|
||||||
|
gulp deploy:live
|
||||||
|
else
|
||||||
|
gulp deploy:beta
|
||||||
|
fi;
|
||||||
|
|
||||||
|
exit;
|
9
_ci/setup.sh
Executable file
9
_ci/setup.sh
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e;
|
||||||
|
|
||||||
|
npm install gulp -g
|
||||||
|
npm install
|
||||||
|
bundle install
|
||||||
|
|
||||||
|
exit;
|
Loading…
Reference in New Issue
Block a user