Ogre is a recreational workshop to help understand orders of magnitude of energies and what it implies for the ecological transition.
https://laconsciencedesetudiants.fr/atelier-ogre/
Our goal is to develop a web application to digitalize OGRE's workshop. It will improve the user experience and allow to scale up the reach of the workshop.
Work In Progress
OGRE uses a number of open source projects to work properly:
- Backend
- node.js - evented I/O for the backend
- Express - fast node.js network app framework
- Docker - dockerize the app in dev environment
- Frontend
- React : Framework/library for front-end dev
- Run "yarn env:default" from root, it will set default .env values in server
- Run "yarn install" from root, it will install all dependencies in all workspaces
- Run "yarn db:up" from root, it will lauch a postgre container
- Run "yarn db:migrate" from root, it creates the tables in the database
- Run "yarn db:seed" from root, it feeds the database with some dummy database
- Run "yarn workspace ogre-client dev" to launch client
- In another client shell run "yarn workspace ogre-server dev" to launch client
Please refer to README.md in /server
and /client
folders.
The app can be deployed to heroku. A procfile is not needed as the "start" and "build" script are executed by default: https://help.heroku.com/P5IMU3MP/heroku-node-js-build-script-change-faq
A postGreSQL database is required, the connection string must be set as DATABASE_URL in the secrets.
Node, npm et Docker must be installed locally.
- Run "yarn env:default" from root, it will set default .env values in server
- Run "yarn install" from root, it will install all dependencies in all workspaces
- Run "yarn build" from root, it will transpile all typescript in all workspaces
- Run "yarn db:up" from root, it will lauch a postgre container
- Run "yarn db:migrate" from root, it creates the tables in the database
- Run "yarn start" from root
App should be up at http://localhost:8080/
If you don't have access yet to this board please request access to admin.
Then chose an issue and there you go!
The project is under MIT licence. For more informations please read LICENCE file