
**Developer Environment Set up**

Download and Install XAMPP 7.0.0 ( PHP 7.0.0 is recommended)
from https://www.apachefriends.org/index.html

**Install your Local Wordpress Site**

Step 1. Create a folder named fewcents under C:\xampp\htdocs\.
Step 2. Download Wordpress 5.8.2 from https://wordpress.org/download/.
Step 3. Extract and Move the wordpress folder content to C:\xampp\htdocs\fewcents.

**Run your Local Wordpress Site**

Step 1. In XAMPP Control Panel, Start Apache and MySQL.
Step 2. Open http://localhost/dashboard/ in your browser.
Step 3. Click on phpMyAdmin.
Step 4. Click Databases and Create database fewcents with option Collation.
Step 5. Let us set up your local wordpress,
        http://localhost/fewcents/wp-admin/setup-config.php
        fill in the database name, user name as root and empty password. Click Submit.
Step 6. Click the button Run the Installation.
Step 7. Set Site Title as fewcents, Set any Username and Pwd and also check "Confirm use of weak 
        password". Set your email and remove check from "Search Engine Visibility". Now click Install Wordpress. On Success, Login.
        
**Development**

Step 1: Create a folder named \fewcents under
          C:\xampp\htdocs\fewcents\wp-content\plugins\
Step 2: Checkout the Source Code from Git to this folder. 
Step 3: Open C:\xampp\htdocs\fewcents\wp-content\plugins\fewcents folder in Visual Studio Code and in the Terminal run following commands
- npm install 
- npm start 
Step 4: Open http://localhost/fewcents/wp-admin/plugins.php (Login with your credentials)
Step 5: You should see the plugin name "fewcents" show up in the list. 
Step 6: Click on activate and your plugin get's active and visible in left menu.
Step 7: Click on Fewcents plugin and start configuring the plugin config options and inject the script.
Step 8: Goto http://localhost/fewcents/wp-admin/edit.php;
Step 9: on Post Hello World Click on View in new tab. you should see the hello world post with our paywall attached to it.


This will have your development environment ready.