Landing page for the 3rd Datathon FME competition, taking place 11-12 November 2023!
- Install the Node Package Manager (NPM).
- Open a terminal inside this folder and run the following commands:
npm i
npm run start
- Remember that the source code is in
./src
while the static assets are in.public
.
- Open a terminal inside this folder and run the following commands:
docker build -t datathon_web .
docker run -p 8080:8080 datathon_web
- Go to http://localhost:8080
- Open a terminal inside this folder and run the following commands:
docker build -t datathon_web_dev -f Dockerfile.dev .
docker run -p 8080:8080 -v $(pwd):/app -it datathon_web_dev
- You will now be inside the docker container, in a folder linked with the folder on you computer, meaning any change done locally will change the files in the container (More info here). Now run:
npm i
npm run start
- Go to http://localhost:8080
- Edit whatever you want. Do not manually edit anything in
./dist
. Its contents are automatically generated. - Run
npm run build
. - Commit your changes, the new version will automatically deploy to Netlify!