Skip to content

Commit 881407c

Browse files
committed
Added missing use cases
Change-Id: I61c611c77c6f4104a8cedac88f7ac3bf8afe145c
1 parent 6817953 commit 881407c

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

Makefile

+8-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,15 @@ deps:
99
bower install
1010
bundle install
1111

12-
local-compass:
12+
dev-deps:
13+
npm install --dev
14+
bower install --dev
15+
bundle install
16+
17+
dev-compass:
1318
compass watch --debug-info --trace
1419

15-
local:
20+
dev-local:
1621
node_modules/docpad/bin/docpad server --silent --offline
1722

1823
generate:
@@ -25,6 +30,7 @@ static: generate
2530

2631
package: generate
2732
-mkdir -p archives/
33+
rm -rf out/frontend-styleguide
2834
tar cfz archives/static-${DATE}.tar.gz out/
2935

3036
lint:

README.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ To learn more about DocPad, you can refer to their [DocPad documentation](http:/
2626
mkdir -p ~/workspace/webplatform/www
2727
cd ~/workspace/webplatform/www
2828
git clone [email protected]:renoirb/www.webplatform.org.git .
29-
makd deps
29+
make dev-deps
3030

3131
This installs all dependencies to work on the project.
3232

@@ -37,7 +37,7 @@ To learn more about DocPad, you can refer to their [DocPad documentation](http:/
3737
4. Code is managed from the `src/` folder, and what gets changed in it gets regenerated automatically
3838
by what we call a "watcher", files are regenerated at every changes into `out/` folder.
3939

40-
node_modules/docpad/bin/docpad run
40+
make dev-local
4141

4242
You can also leverage work with CSS and JavaScript using built in tools:
4343

@@ -47,10 +47,11 @@ To learn more about DocPad, you can refer to their [DocPad documentation](http:/
4747

4848
* Work on assets with live reload
4949

50-
make local
50+
make dev-local
5151

52-
* Compiling SASS files
52+
* Work on SASS files, open up another tab (leave `make dev-local` run)
5353

54+
make dev-compass
5455

5556
NOTE: Working on CSS, have a look at [README.contributing-css.md](README.contributing-css.md).
5657

@@ -70,6 +71,7 @@ To learn more about DocPad, you can refer to their [DocPad documentation](http:/
7071

7172
1. Prepare for deploying
7273

74+
make deps
7375
make generate
7476

7577
If you are on the salt master, this can be run from `/srv/code/www/repo`, then you can use Salt to deploy

0 commit comments

Comments
 (0)