Skip to content

oScape/finthnif

Repository files navigation

Finthnif

Launch database with docker

Go to backend/docker and run docker-compose up -d to setup and launch a postgresql db and pgadmin.

You can see more details here to setup with pgadmin.

Connect to the database and create drivers table, run psql -h 127.0.0.1 -p 5432 -d postgres -U admin -f backend/sql/drivers.sql,

You can look at the directory backend/sql/ for create the mandatory schema for the app.

Launch the server

Go to backend, run cargo run and connect to http://localhost:8000/

Launch the electron app

Go to app-electron, run npm start

You need to have install:

You need to create:

  • app-electron/dist and create a file index.html which contains a basic skeleton:
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Webpack App</title>
  <meta name="viewport" content="width=device-width, initial-scale=1"></head>
  <body>
  <script src="bundle.js"></script></body>
</html>

About

Dashboard for planning management

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published