Commit Graph

17 Commits

Author SHA1 Message Date
Gerasimos (Makis) Maropoulos 92c42d59a2
Windows quickstart tutorial on CONTRIBUTING.md
Developer notes::Starting a local instance

### Windows

1. Install **Ruby**: https://rubyinstaller.org/
	* After the installation check the box and type `3` to select the 3rd option
	* Add `C:\msys64\usr\bin` to PATH env variable 
	* Add `C:\Ruby24-x64\bin` to PATH env variable
2. Install **yarn**: https://yarnpkg.com/en/docs/install#windows
3. Install **jekyll** via command prompt: `gem install jekyll bundler`
4. Install **nodejs && npm**: https://nodejs.org/en/download/
4. Install **webpack** via command prompt: `npm install -g webpack`
5. If you have any issues after installing ruby, like `HOMEPATH` is not defined, then execute the below commands:
```bash
SETX HOMEDRIVE %SYSTEMDRIVE% -m
SETX HOMEPATH \Users\%username% -m
SET HOME=%SYSTEMDRIVE%\Users\%USERNAME%
SETX HOME "%HOME%"
```

#### Start Jekyll and Webpack

Go wherever the project's files are located and open a new command prompt, execute the below commands:

```bash
yarn install
bundle install
SET PORT=4001
yarn run dev
```
2017-12-21 06:33:07 +02:00
Rico Sta. Cruz 544ad25199
jekyll: don't rebuild unless necessary 2017-10-20 18:14:52 +08:00
Rico Sta. Cruz 37ae72fcb6
Implement critical path JS 2017-10-19 12:37:49 +08:00
Rico Sta. Cruz b3beaccbe9
Add critical path CSS 2017-10-19 11:53:21 +08:00
Rico Sta. Cruz 3866f160f9
Implement keywords-based descriptions 2017-10-16 02:02:23 +08:00
Rico Sta. Cruz b8ee6a8171
Add CloudFlare purging helper 2017-10-13 03:58:52 +08:00
Rico Sta. Cruz fe728b7322
enyzme: update for v3 2017-10-12 18:10:12 +08:00
Rico Sta. Cruz 0487707c04
Use 'yarn run dev' for everything 2017-10-02 05:59:44 +08:00
Rico Sta. Cruz b906becabf
Add some tests 2017-10-02 04:57:41 +08:00
Rico Sta. Cruz 6c94c9d5e6
Update URLs 2017-09-27 08:20:12 +08:00
Rico Sta. Cruz 2aeeb3f677
cheatsheet-styles: how meta 2017-09-22 14:06:06 +08:00
Rico Sta. Cruz 2c4ae49491
101: big update 2017-09-21 16:25:42 +08:00
Rico Sta. Cruz 39ed6150ed
camp: add cheatsheet for node.js web server framework 2017-09-21 15:59:20 +08:00
Rico Sta. Cruz 926704b4a1
CONTRIBUTING: update more classnames 2017-09-04 14:23:29 +08:00
Rico Sta. Cruz 0188226c6e
Implement 'type' metadata 2017-09-04 10:23:45 +08:00
Rico Sta. Cruz 85539f7878
Add info on forking 2017-09-04 10:01:24 +08:00
Rico Sta. Cruz 898900e90d
Add CONTRIBUTING.md 2017-09-04 09:44:14 +08:00