Author
Ilkka Korhonen
Run the project:
Go to https://iltelko2.github.io
OR open folder of "Project" directory in terminal (bash, cmd etc.) type in "npm install vite" and then, type in "npm run dev" click the link shown in terminal (press ctrl button down and left click the link with the mouse) OR if you cannot click the link, copy the url it to your favorite browser and open it there
Video can be found from:
For further developing
open folder in Project directory in VS Code type "npm installs" first to create node packages in terminal and in project folder (not all are needed to run the project -- you just need vite as mentioned above, but if code changes are needed all the following are mentioned here) --> npm install node-sass npm install react react-router-dom npm install vite npm install @vitejs/plugin-react
and open 2 terminals:
- in 1st terminal type npm run sass (test it by modifying content of any scss file & save it -- to trigger creation of css file)
- in 2nd terminal type npm run dev
Deployment
(first commit all changes and push to github) npm run build npm run deploy