https://github.com/nderousseaux/internmap
Projet ayant pour objectif de projeter sur une carte les différents lieux des stages des élèves.
https://github.com/nderousseaux/internmap
google-cloud-platform internmap project vuejs web
Last synced: 12 months ago
JSON representation
Projet ayant pour objectif de projeter sur une carte les différents lieux des stages des élèves.
- Host: GitHub
- URL: https://github.com/nderousseaux/internmap
- Owner: nderousseaux
- Created: 2023-05-28T09:57:17.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-06-18T17:09:17.000Z (about 2 years ago)
- Last Synced: 2025-04-06T12:46:12.084Z (about 1 year ago)
- Topics: google-cloud-platform, internmap, project, vuejs, web
- Language: Vue
- Homepage:
- Size: 6.69 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Internmap
## Environment variables
Set this environment variables in `.env` file in root directory of project.
```bash
VUE_APP_GOOGLE_MAPS_API_KEY # Google Maps API key
VUE_APP_GOOGLE_MAPS_ID # Google Maps ID
VUE_APP_JSON_URL_COMPANIES # URL to companies JSON
```
## Project setup in development
```bash
npm install # install dependencies
npm run serve # run development server
```
### Lints and fixes files
```
npm run lint
```
## Build localy in production
### Build docker image
```bash
docker build -t internamp $(for i in `cat .env`; do out+="--build-arg $i " ; done; echo $out;out="") .
```
### Run docker container
```bash
docker run -d -p 80:80 internamp
```
## Build with github actions
`.github/workflows/create-publish-docker.yml` file contains workflow for building and publishing docker image to docker hub.
It needs to be configured with secrets and variables in github repository settings.
Secrets:
- VUE_APP_GOOGLE_MAPS_API_KEY : Google Maps API key
Variables:
- VUE_APP_GOOGLE_MAPS_ID : Google Maps ID
- VUE_APP_JSON_URL_COMPANIES : URL to companies JSON