This project was bootstrapped with Create React App.
Go to the Project directory in the Terminal and install all Modules needed to run the site. Here are all of the commands that should be executed:
npm install react-bootstrap [email protected]
Open the Terminal and run setUpDatabase.sql using this command:
(Fill in username with your PostgresSQL username)
Create an env.json file that the sever can access on the outside of the main directory (for security reasons)
It should look something like this:
{ "user": "YOUR USERNAME", "host": "localhost", "database": "valleytxt", "password": "YOUR PASSWORD", "port": 5432 }
In the project directory, run:
This will run the app in the development mode.
Open http://localhost:3000 to view it in your browser. (Usually this will occur after running npm start)
The page will reload when you make changes.
You may also see any lint errors in the console.
Open another instance of your Terminal and go to the Project directory
To start the server, run the command: