Skip to content

Commit e9e0cd5

Browse files
readme note and .gitignore
1 parent 8d8cf02 commit e9e0cd5

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
# How to Deploy a React App to a Subdirectory
2+
### Define App Homepage in package.json
3+
### Set Basename in Router
4+
### Make changes in .htaccess
5+
### Make build and deploy
6+
7+
8+
# How to Install - Step by Step Guide
9+
1. Clone using the following repo link
10+
### `git clone https://github.com/fullstacktutorials/deploy-react-app-subdirectory.git`
11+
12+
2. Go to the project folder and run npm install
13+
### `cd deploy-react-app-subdirectory`
14+
### `npm install`
15+
16+
3. Now run your app
17+
### `npm start`
18+
19+
20+
121
# Getting Started with Create React App
222

323
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

0 commit comments

Comments
 (0)