Skip to content

Commit adbf5fb

Browse files
committed
version 2.0.1
1 parent 8bae257 commit adbf5fb

2 files changed

Lines changed: 32 additions & 24 deletions

File tree

README.md

Lines changed: 32 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,38 @@
11
![](./www/dragon_stack.png)
22

3-
# From Zero to WOW in 5 minutes
4-
This project aims to bring unprecedented user experience to developers by __simplifying__ the deployment of applications using an [Autonomous Database](#why-oracle-autonomous-database-for-developers).
3+
# From Zero to WOW in 5 minutes
4+
![](./www/command-line-example.png)
5+
- Generates the source code of a pre-configured [REACT](https://reactjs.org/) frontend
6+
- Provisions an autonomous backend ([Always Free autonomous database](#why-oracle-autonomous-database-for-developers) + REST Data Services)
7+
- (optional) Loads your JSON data into your collection(s)
8+
9+
__... in 5 minutes.__
510

611
# 30 seconds installation steps
712

8-
- [Download](#download)
13+
- Download [Linux and Oracle Cloud Infrastructure Cloud Shell](#linux-and-oracle-cloud-infrastructure-cloud-shell), [Windows](#windows), [MAC OS](#mac-os)
914
- [Configure](#configure)
1015
- [Run](#run)
1116
- [Managed Stacks](#stacks)
1217

1318
[![DRAGON Stack - React Frontend / Autonomous Backend](https://img.youtube.com/vi/X-10r-zji9E/0.jpg)](https://www.youtube.com/watch?v=X-10r-zji9E)
1419

1520
## Download
16-
The latest stable release is v2.0.0.
21+
The latest stable release is v2.0.1.
1722

18-
Linux and [Oracle Cloud Infrastructure Cloud Shell](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/cloudshellintro.htm):
23+
### Linux and [Oracle Cloud Infrastructure Cloud Shell](https://docs.cloud.oracle.com/en-us/iaas/Content/API/Concepts/cloudshellintro.htm):
1924
```
20-
rm -f ./dragon-linux-x86_64-2.0.0
21-
wget https://github.com/loiclefevre/dragon/releases/download/v2.0.0/dragon-linux-x86_64-2.0.0
25+
rm -f ./dragon-linux-x86_64-2.0.1
26+
wget https://github.com/loiclefevre/dragon/releases/download/v2.0.1/dragon-linux-x86_64-2.0.1
2227
chmod +x dragon-linux-*
2328
```
24-
Windows:
29+
### Windows:
2530
```
26-
powershell wget https://github.com/loiclefevre/dragon/releases/download/v2.0.0/dragon-windows-x86_64-2.0.0.exe -OutFile dragon-windows-x86_64-2.0.0.exe
31+
powershell wget https://github.com/loiclefevre/dragon/releases/download/v2.0.1/dragon-windows-x86_64-2.0.1.exe -OutFile dragon-windows-x86_64-2.0.1.exe
2732
```
28-
MAC OS:
33+
### MAC OS:
2934
```
30-
curl -L -O https://github.com/loiclefevre/dragon/releases/download/v2.0.0/dragon-osx-x86_64-2.0.0
35+
curl -L -O https://github.com/loiclefevre/dragon/releases/download/v2.0.1/dragon-osx-x86_64-2.0.1
3136
chmod +x dragon-osx-*
3237
```
3338

@@ -38,20 +43,23 @@ The DRAGON Stack is driven by the command line arguments and a configuration fil
3843
### CLI arguments
3944

4045
```
41-
./dragon-linux-x86_64-2.0.0 -help
42-
DRAGON Stack manager v2.0.0
46+
./dragon-linux-x86_64-2.0.1 -help
47+
DRAGON Stack manager v2.0.1
4348
4449
> Command line parameters ................................................... ok
4550
Usage:
4651
-config-template display a configuration file template
4752
-profile <profile name> choose the given profile name from dragon.config (instead of DEFAULT)
48-
-db <database name> denotes the database name to create
49-
-load load corresponding data into collections
53+
-db <database name> denotes the database name to create or destroy
54+
-load loads JSON data corresponding to collections (default: no data loaded)
55+
. use with configuration parameters database_collections and data_path
56+
. loading JSON data can be done during and/or after database provisioning
57+
. JSON file names must match <collection name>[_[0-9]+].json
5058
-create-react-app [name] create a React frontend (default project name is "frontend")
5159
-destroy ask to destroy the database
5260
```
5361

54-
If you wish to create JSON collections during the provisioning process, you may use the configuration file parameter __database_collections__ (see hereunder). If you also wish to load existing data into these collections, you may put your JSON documents in files having the same name as the collection name plus the .json extension. These files must be of JSON dump format with exactly one JSON document per line. No array, no comma separating the documents but carriage returns! __Your files will be loaded only if you ask for it using the -load CLI argument__.
62+
If you need to create JSON collections during the provisioning process, you may use the configuration file parameter __database_collections__ (see hereunder). If you also need to load existing JSON data into these collections, you may put your JSON documents in files having the same name as the collection name plus the .json extension. These files must be of JSON dump format with exactly one JSON document per line. No array, no comma separating the documents but carriage returns! __Your files will be loaded only if you ask for it using the -load CLI argument__.
5563

5664
### Configuration file
5765

@@ -127,37 +135,37 @@ Example from OCI Cloud Shell (Linux):
127135

128136
Linux and OCI Cloud Shell:
129137
```
130-
$ ./dragon-linux-x86_64-2.0.0
138+
$ ./dragon-linux-x86_64-2.0.1
131139
```
132140

133141
To load data as well as provisioning (Linux and OCI Cloud Shell):
134142
```
135-
$ ./dragon-linux-x86_64-2.0.0 -load
143+
$ ./dragon-linux-x86_64-2.0.1 -load
136144
```
137145

138146
To load data as well as provisioning and finally create a React application (Linux and OCI Cloud Shell):
139147
```
140-
$ ./dragon-linux-x86_64-2.0.0 -load -create-react-app myfrontend
148+
$ ./dragon-linux-x86_64-2.0.1 -load -create-react-app myfrontend
141149
```
142150

143151
Windows:
144152
```
145-
> dragon-windows-x86_64-2.0.0.exe
153+
> dragon-windows-x86_64-2.0.1.exe
146154
```
147155

148156
MAC OS:
149157
```
150-
$ ./dragon-osx-x86_64-2.0.0
158+
$ ./dragon-osx-x86_64-2.0.1
151159
```
152160

153161
To destroy your database (Linux and OCI Cloud Shell):
154162
```
155-
$ ./dragon-linux-x86_64-2.0.0 -destroy
163+
$ ./dragon-linux-x86_64-2.0.1 -destroy
156164
```
157165

158166
## Stacks
159167

160-
As of v2.0.0, DRAGON can now generate stacks. The very first stack proposed is a [React](https://reactjs.org/) frontend.
168+
As of v2.0.1, DRAGON can now generate stacks. The very first stack proposed is a [React](https://reactjs.org/) frontend.
161169

162170
### OCI Cloud Shell (Linux)
163171

@@ -181,7 +189,7 @@ Converged, it means, you get the consistency of a _relational_ database, the _fl
181189

182190

183191
\* Autonomous Database can be:
184-
- __Always Free__ Autonomous Transaction Processing (ATP, aka Converged Database)
192+
- __[Always Free](https://signup.oraclecloud.com/?language=en&intcmp=:ow:o:p:feb:0916FreePageBannerButton&sourceType=:ow:o:h:po:OHPPanel1nav0625%2B:ow:o:p:feb:0916FreePageBannerButton)__ Autonomous Transaction Processing (ATP, aka Converged Database)
185193
- Autonomous JSON Database (AJD)
186194
- Autonomous Transaction Processing (ATP)
187195
- Autonomous Data Warehouse (ADW)

www/command-line-example.png

11.1 KB
Loading

0 commit comments

Comments
 (0)