@@ -4,17 +4,19 @@ My personal website. Built using Node.js, React, Express, React-Router, Hot Modu
44### Tests:
55[ ![ Code Climate] ( https://codeclimate.com/github/mldangelo/mldangelo/badges/gpa.svg )] ( https://codeclimate.com/github/mldangelo/mldangelo )
66[ ![ Build Status] ( https://travis-ci.org/mldangelo/mldangelo.svg?branch=master )] ( https://travis-ci.org/mldangelo/mldangelo )
7+ [ ![ Dependency Tracking] ( https://david-dm.org/mldangelo/mldangelo.svg )] ( https://david-dm.org/ )
78
8- ### Requirements:
9- * node >= v6.0
9+ ### Dependencies:
10+ * node >= v6.0.0
11+ * yarn >= v0.18.
1012
1113### Installation:
1214
13151 . Run the following commands:
1416 ``` bash
1517 git clone git://github.com/mldangelo/mldangelo.git
1618 cd mldangelo
17- npm install
19+ yarn
1820 ```
1921
20222 . Optionally configure nginx. Run:
@@ -23,7 +25,8 @@ My personal website. Built using Node.js, React, Express, React-Router, Hot Modu
2325 sudo ln [root directory]/nginx/mldangelo.conf [nginx directory]/sites-enabled/mldangelo.conf
2426 sudo service nginx restart
2527 ```
26- Note: HTTPS block should be removed if step 2 (below is not followed)
28+ Note: HTTPS block should be removed if step 3 (below) is not followed.
29+
27303 . Optionally configure a SSL certificate using Certbot. See [ here] ( https://certbot.eff.org/#ubuntutrusty-nginx )
2831for installation and setup instructions. A cronjob such as:
2932
@@ -38,17 +41,15 @@ for installation and setup instructions. A cronjob such as:
3841
39421 . ``` cp sample.env .env ``` and set values as appropriate.
4043
41- 2 . cd into [ root directory ] and run:
44+ 2 . Run ` npm run forever-start ` and navigate to ` <ip>:<port> (default=7999) ` .
4245
43- ``` bash
44- npm run build
45- npm start
46- ```
47- If running in background, use nohup or screen.
48- 3 . Navigate to ` <ip>:<port> (default=7999) ` and enjoy.
46+ ### Developing:
47+ 1 . Set ` NODE_ENV=development ` in ` .env ` .
48+ 2 . Run ` npm run dev `
4949
5050### Contributors
5151- [ @mldangelo ] ( https://github.com/mldangelo )
52+ - [ @typpo ] ( https://github/typpo )
5253
5354### Acknowlegements
5455- Special thanks to [ @typpo ] ( https://github.com/typpo ) for tirelessly answering all of my node.js and react questions.
0 commit comments