Additional information or tag line
A developer's guide to getting started!
-
Download Node.Js: https://nodejs.org/en/download
-
Download Python 3.12.2 and/or add to PATH: https://www.python.org/downloads/
-
Download Pipenv
pip install --user pipenv
- Install dependencies
- First, make sure you are in the server folder in TripPrefVisualizer, then put this in your command line
pipenv install
This will be used to automatically create and manage a virtualenv!
- Next, navigate to the client directory and download all the dependencies for the front-end
cd ./client
npm install
This installs all the necessary Node.js packages listed in package.json and package-lock.json.
- Initialize the frontend and backend
- In the client directory, run
npm run dev
This will run the next.js app in development mode, so all changes made in the code will be immediately reflected on the page
- In a new terminal, navigate to the server directory then:
- For windows type :
pipenv run python server.py
- For MAC type :
pipenv run python3 server.py
- Enjoy!
- There should now be two local hosts running, one for the backend and one for the front.
Here is a beetle for good luck!
\ /
`-.`-'.-'
,:--.--:.
/ | | | \
/\ | /\
| `.:.' |
_
\`*-.
) _`-.
. : `. .
: _ ' \
; *` _. `*-._
`-.-' `-.
; ` `.
:. . \
. \ . : .-' .
' `+.; ; ' :
: ' | ; ;-.
; ' : :`-: _.`* ;
[bug] .*' / .*' ; .*`- +' `*'
`*-* `*-* `*-*'
Squash them!!
- Create a detailed issue on GitHub including how to replicate and potential causes/fixes.