Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.

journalio/test-rocket-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test application for IPSENH

Rust Web Publish Api Docker Image Dependabot Status Bors enabled

This is a repository containing test files and setups for the IPSENH school project.

This is not production code and should only be used for testing things. (Going very well so far)

Getting started

First, you need to clone the repository

git clone [email protected]:journalio/test-rocket-app.git

Then, inside the project, you can bring in the latest images deployed on Github Packages

docker-compose pull

If you're running for the first time, you should first start the database container and run the migrations to initialize the database

docker-compose up -d postgres

diesel migration run

If you've already initialized the database or just did, you can start the environment easily with

docker-compose up -d

This will expose the traefik container on ports 80 and 8080, and you can visit the application on app.test and the api on app.test/api/ The database is also exposed on port 5432 (default postgres port)

Building the images manually

You can force the images to build locally using

docker-compose up -d --build