Starting point of a app for shorting URL
- Docker
- Docker Compose
- Bash
- Git
- Docker
- Docker Compose
docker-compose.development.yaml
: Docker compose file for development environment. It will work only with the related repositories available, that is, API - Backend and WebApp - Frontenddocker-compose.production.yaml
: Docker compose file for production environment. Just run it and the magic will take place.start.sh
: The easy way to start it in a development environment.
TBA
Clone the repository
git clone https://github.com/maelfosso/shorturl-startup-files.git
Run the application in development
mode.
$> ./start.sh
It will
- Create a repository
shorturl
- Download the Github repository of the Backend and put it into the folder
api
- Download the Github repository of the Frontend and it into the folder
webapp
- Download the current repository
- Run the docker composite file for
development
:docker-compose.development.yaml
To Run the application in production
mode
$> curl -o docker-compose.development.yaml https://raw.githubusercontent.com/maelfosso/shorturl-startup-files/master/docker-compose.production.yaml
$> docker-compose -f docker-compose.production.yaml up
In production
environemnt, no files will be downloaded, the context is directly connected to the Github repository.