https://github.com/data-students/web-datathon-2023
Lloc web de la Datathon FME!
https://github.com/data-students/web-datathon-2023
datathon website
Last synced: 4 months ago
JSON representation
Lloc web de la Datathon FME!
- Host: GitHub
- URL: https://github.com/data-students/web-datathon-2023
- Owner: data-students
- Created: 2021-09-30T22:14:30.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-07T00:04:06.000Z (over 2 years ago)
- Last Synced: 2025-01-23T12:29:08.629Z (over 1 year ago)
- Topics: datathon, website
- Language: HTML
- Homepage:
- Size: 15.9 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# datathon.cat
## Landing page
[](https://app.netlify.com/sites/datathon/deploys)
Landing page for the 3rd Datathon FME competition, taking place 11-12 November 2023!
### How to test locally?
1. Install the Node Package Manager (NPM).
2. Open a terminal inside this folder and run the following commands:
```
npm i
npm run start
```
3. Remember that the source code is in `./src` while the static assets are in `.public`.
#### Using docker
1. Open a terminal inside this folder and run the following commands:
```
docker build -t datathon_web .
docker run -p 8080:8080 datathon_web
```
2. Go to http://localhost:8080
##### Using docker for development
1. 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
```
2. 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](https://docs.docker.com/storage/volumes/)). Now run:
```
npm i
npm run start
```
3. Go to http://localhost:8080
### How do I deploy a new version?
1. Edit whatever you want. Do not manually edit anything in `./dist`. Its contents are automatically generated.
2. Run `npm run build`.
3. Commit your changes, the new version will automatically deploy to Netlify!