Starter repo to demonstrate setting up LAMPR stack
- Fork this repo
- Clone your forked copy of this repo
git clone https://github.com/[Your Username]/lampr-demo.git
- Change directory into the newly cloned repo
cd lampr-demo
- Install dependencies
npm install
- Use MAMP or similar program to start Apache and MySQL servers
- Set root directory of server to the
public
folder of this project- Set Apache port to
8000
- Use phpMyAdmin (or similar) to create a database
- Start dev server
npm start
- Open a browser and navigate to
localhost:3000
You should see an empty to do list.
- Run webpack to bundle files
npm run bundle
NOTE: After bundling and placing on a web server. The
public
folder should be the web root