Skip to content

Commit 909d2c7

Browse files
author
jibl
committed
tite correction de chemins
1 parent 26fe085 commit 909d2c7

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

README.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
À mettre dans le panier (don't mind that it's just a personal copy/paste, no relation with this repo) :
1+
À mettre dans le panier (don't mind that it's just a personal copy/paste, no relation with this repo) :
22

33
<a href="https://dev.azure.com/github/Atom/_build/latest?definitionId=32&amp;branchName=master" rel="nofollow"><img src="https://camo.githubusercontent.com/a9d6d0b75ac41d574a2326d317c89a6522e91a1c/68747470733a2f2f6465762e617a7572652e636f6d2f6769746875622f41746f6d2f5f617069732f6275696c642f7374617475732f41746f6d25323050726f64756374696f6e2532304272616e636865733f6272616e63684e616d653d6d6173746572" alt="Build status " data-canonical-src="https://dev.azure.com/github/Atom/_apis/build/status/Atom%20Production%20Branches?branchName=master" style="max-width:100%;"></a>
44

@@ -12,7 +12,7 @@ https://startbootstrap.com/previews/sb-admin-2/
1212

1313
A bare grapesjs Instance served by asimple node/express static webserver
1414

15-
Release inventory :
15+
Release inventory :
1616
* `0.0.1` : gives you exactly what a bare grapesjs instance should be, meaning almostno controls on the block toolbox, etc... Gives you exactly whatyou've got live at ccc, source code at https://github.com/artf/grapesjs
1717
* `0.0.2` : gives you exactly whatyou've got live at https://grapesjs.com/demo.html, source code at https://github.com/artf/grapesjs-preset-webpage
1818

@@ -39,7 +39,7 @@ export URI_DE_CE_REPO=https://github.com/Jean-Baptiste-Lasselle/grapejs-server
3939
mkdir -p ~/grapesjs-server
4040
cd /grapesjs-server
4141

42-
git clone $URI_DE_CE_REPO .
42+
git clone $URI_DE_CE_REPO .
4343

4444
chmod +x ./build.sh
4545
./build.sh
@@ -57,17 +57,17 @@ chmod +x ./charger-projet.sh
5757
# Start it (Dev mode)
5858

5959
```bash
60-
export OMEGA_PORT=3000
61-
export OMEGA_HOST=0.0.0.0
62-
export OMEGA_BACKLOG=500
60+
export OMEGA_PORT=3000
61+
export OMEGA_HOST=0.0.0.0
62+
export OMEGA_BACKLOG=500
6363
export HTML_FILE_TO_LOAD_OMEGA_REALTIVE_PATH=index.html
6464

6565
npm run start
6666
```
6767

6868
**_What you get with release `0.0.1`_**
6969

70-
An in Browser MJML Editor, enriched with `grapesjs`, with its tested bundle procedure `npm run bundle` , and it will look like :
70+
An in Browser MJML Editor, enriched with `grapesjs`, with its tested bundle procedure `npm run bundle` , and it will look like :
7171

7272
![screeshow 1](https://github.com/Jean-Baptiste-Lasselle/grapesjs-mjml-webclient/raw/master/documentations/images/MJML_EDITOR_SCREENSHOW_1_2019-03-21%2002-58-43.png)
7373

@@ -82,5 +82,9 @@ An in Browser MJML Editor, enriched with `grapesjs`, with its tested bundle proc
8282

8383

8484

85+
### PEtite recette our récupérer le top level name d'une archive zip
8586

86-
87+
* Pour https://github.com/BlackrockDigital/startbootstrap-sb-admin-2/archive/gh-pages.zip :
88+
```bash
89+
unzip -l template-HTML5-current.zip|head -n 7|tail -n 1|awk '{print }'|awk -F '/' '{print }'
90+
```

omega.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ var omega = express();
2424
*
2525
***/
2626
omega.use(express.static('grapes'));
27-
omega.use("/demo", express.static('workspace/omega'));
27+
omega.use(express.static('workspace'));
2828

2929

3030
var storage_endpoint = require('./omega/storage-endpoint');

0 commit comments

Comments
 (0)