Skip to content

Connecktail/setup

Repository files navigation

Setup

Purpose :

This repo aims to provide a simple way to setup a raspberry pi in order to welcome the connecktail project.

It includes :

  • The deployment of an access point
  • The installation of Docker & docker compose
  • The installation of C libraries :
    • The libcJSON library
    • The libgtk3.0 library
    • The libws library
    • The libpq library
    • The libcurl library
  • The deployment of the database

How to use :

You have at your disposal, 2 choices : a manual installation or an automatic installation.

Manual installation :

  1. Clone the repo
git clone https://github.com/Connecktail/setup.git
  1. Go to the repo
cd setup
  1. You now have to go to each directory (except the deployment one)and run ./script.sh
  2. Go the deployment directory and create a file named .env where you will put the following variables depending on your environment:

DB_USER=user DB_PASSWORD=user DB_NAME=database

(you can see that example in the .env.example file) 5. You can now deploy the database with the following command

docker compose up -d

Automatic installation :

To setup the raspberry, you have just to run setup.sh script. It will ask you some questions about credentials and then it will install everything for you.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages