Giter Site home page Giter Site logo

yannick-mayeur / menexatech_app Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 552 KB

MenexaTech is a place where students can share and discuss old exams.

Home Page: https://menexatech.igpolytech.fr/

License: MIT License

Ruby 65.96% JavaScript 1.26% CSS 2.34% HTML 27.36% CoffeeScript 1.06% PLpgSQL 1.78% Dockerfile 0.24%

menexatech_app's Introduction

WOA Project: MenexaTech

This is the final project of my Web Oriented Applications course. It is a platform where students will be able to share old exams, and discuss there answers.

Getting started with Docker

Install docker and docker-compose.

Run the following command to build and run the project:

$ docker-compose build
$ docker-compose up

The in an other terminal run:

$ docker-compose run web rails db:create
$ docker-compose run web rails db:migrate

Getting started by installing requirements yourself

Requirements

  • Same Rails and Ruby version as specified in the Gemfile
  • postgres
  • Poppler-utils to preview images

Getting started

To get get started with the MenexaTech app on your machine, clone the Repository and install the needed gems:

$ bundle install --without production

Then migrate the database, and fill it with generated content:

$ rails db:migrate
$ rails db:seed

In order to be sure that the application works properly you will have to add the triggers from file db/triggers.sql to your database. The database of the development environment currently being sqlite3 this is not trivial, the installation of postgres on a local machine being relatively hard. My advice would be to deploy the application to for example Heroku and then add the triggers.

Finally you can run the application on a local server:

$ rails server

menexatech_app's People

Watchers

James Cloos avatar  avatar

Forkers

thomasf34

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.