Follow these steps:
- Make sure you have python 3.6 installed (virtual environment is fine) and are using it.
- Install pipenv:
pip install pipenv - Navigate to the backend directory in your terminal
- Run
pipenv shell - Once in the new virtual environment run
pipenv installto install the dependencies in the pipfile
- Navigate to the backend directory
- Make sure you have activated the pipenv environment with
pipenv shell(same as you did during the installation process) - Run the server with
python run.py - Navigate to http://127.0.0.1:5000/ and see if the message Server works fine, congrats! is returned.
Use pipenv install <package-name> from within the backend directory (while you are in the pipenv shell)
Follow these steps:
- Install node.js and npm
- Navigate to the frontend directory
- Run
npm installto install dependencies
- Navigate to the frontend directory
- Run
npm startto run the react magic - Navigate to http://localhost:3000/ and see if the website is there
Navigate to the webste and press the Test Server Connection button. An alert box should appear containing a json with some affirming words. If you get the Failed message, something is wrong.
Use npm install <package-name> from within the frontend directory.