Giter VIP home page Giter VIP logo

edel-docker's Introduction

This is a copy of the project done for automated docker builds.


EDEL WEBSITE

  • This file contains instruction on how to operate and how to configure the website
  • The website is a forum that is supposed to be be answered by the users and partners (NGOs)
  • The user will receive notifications if someone posted a new answer

INSTALL AND CONFIGURE

  • Install apache2 server using the following command: apt-get install apache2

  • install apache2 modules related to php

  • Configure apache2 to use ssl and https by creating a certificate. Consult digital ocean documentation

  • install mysql database using the following command apt-get install mysql-server

  • Configure mysql database to have a user with the password/username of boubou4

  • Creating another user for the database would lead to fixing the code to reflect that.

  • Run the database.sql schema against your newly created database so that it will create the tables

  • Install postfix sever and configure an internet site with the capability of sending emails apt-get install postfix

  • configure postfix using the command dpkg-reconfigure postfix

  • set up an internet site for postfix

  • set up an authentication to gmail [email protected] by creating an sasl_password file

  • run the command postmap against sasl_password file

  • start all services using the following command service apache2 start; service mysql start; service postfix start;

  • see error logs inside /var/log/apache2/error.log and /var/log/mail/mail.log

  • test email services configured using the following command echo 'text-content' | mail -s 'subject' '[email protected]'

  • visit index.php inside the folder or set the default route to it

  • run npm install autosize so that we get the autosize functionality for the post


Featured listing

  • passwords are saved nd secure using hash salt system

  • website functions under ssl tunnel

  • postfix is installed so that email notification system is set up to notify the user when ever he receives an answer

  • documents are uploaded and saved in the database and retrived from there

  • ability to sign a document using the user's private key or encrypt it using the user's public key

  • posts are searchable through tags

  • The website is prone to mysql injection (do you know that myconcordia.ca is prone to this???)

  • tags are dynamically created and there is an auto complete feature for them to help the user entering tags

  • forum is ordered based on the number of up votes each post has received

  • the forum is 80% phone responsive

  • images and documents (pdf) are able to preview before download

  • responsive menu depending on screen size


Design and Colors

  • light green 89d475
  • pale green 69D4A0
  • cyan 75cad7
  • meduim blue 648ad1
  • navy 776bc9
  • purple 7f3ec2

TO DO:

a) RSS feed if necessary
b) final touches for the phone reposivness

#docker run -it -v $PWD/src:/var/www/html/ -p80:80 -p443:443 --name edel --link edel-mysql:edel-mysql edel:3.0 /bin/bash


Explanation of the Project

-- DOCKER init #start the docker deamon systemctl start docker.service docker.socket

#run both of the servicess
docker start edel-mysql edel5 

#run the apache and the email services
docker attach edel5
apachectl start
postfix start

#inshort
two dockers one mysql and the other is apache and postfix

-- Overview #what is this: prototype of a webforum to test the idea of user contribution

#what is the general achitecture
the edel database has the following elements:
    a) Users (create a ppk pair and salted hash password)
    b) Posts (Tree Structure)
    c) Documents (documents stored in database and signed)
    d) Votes (upvote and downvote a post)
    e) Tags (taging a post and grabbing posts related to a tag)
    

#backend
backend is done with php and mysql

#frontend
front end is done with w3.css javascript 

edel-docker's People

Contributors

eliashomsi avatar

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.