🚒 App which helps firefighters to learn equipment placement in fire trucks, because every second matters
Go to file
2023-03-02 19:23:39 +01:00
client Improve FirstFooter scaling 2023-03-01 21:31:20 +01:00
media/images Created media directory and hosting it as static 2023-02-28 19:54:33 +01:00
.env.example Added example of how .env should look like 2023-02-27 16:55:58 +01:00
.gitignore Removed .env from tracked files 2023-02-27 16:45:26 +01:00
app.js Added missing table to create SQL script 2023-02-28 23:55:05 +01:00
LICENSE.txt Create LICENSE.txt 2023-02-26 15:51:02 +01:00
package-lock.json Now loading sensitive data from .env file 2023-02-27 16:43:25 +01:00
package.json Now loading sensitive data from .env file 2023-02-27 16:43:25 +01:00
README.md Updated README instructions 2023-02-28 20:11:59 +01:00
skrytka_create_db.sql Repaired fire_truck image_path constraint 2023-03-02 19:23:39 +01:00
skrytka_create_utils.sql Changed the way osp units can be searched 2023-02-27 16:13:56 +01:00

skrytka.app

To start this application you need to:

  1. Configure database
    • Install PostgreSQL DBMS
    • Setup some database and user with permissions to it
    • Create .env file in the main directory and fill it in with fields DB_USER, DB_PASS, DB_HOST, DB_PORT and DB_NAME. In case of confusion you may check exemplary .env file saved as .env.example in the root directory of this repository.
  2. Run both SQL scripts, which are located in the main directory. For app to be usable it is also recommended to insert some data to the database.
  3. Run npm install in the main directory.
  4. Run npm install in the client directory.
  5. Run npm build in the client directory.
  6. Run npm start in the main directory
  7. App will run on localhost:5000 Note: pm2 or/and nginx may be used to run this app for production