Site public du carrefour des innovations sociales
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bulma-custom
cis
nginx
screenshots
unit
.gitignore
LICENSE
README.md
requirements.txt

README.md

SOCIAL CONNECT
-alias-
CARREFOUR DES INNOVATIONS SOCIALES


PRESENTATION

The official website for the project SocialConnect / aka (in French) Carrefour des Innovations Sociales


alt text


INSTALLATION WALKTHROUGH

LOCALLY

  1. clone or download the repo

  2. install MongoDB locally or get the URI of the MongoDB you're using

  3. go to your cis folder

  4. use Python 2

  5. install python pip and virtualenv

     $ sudo apt install python-pip
     $ sudo apt install virtualenv
    
  6. install a virtual environment

     $ virtualenv venv
    
  7. install the libraries

     $ sudo pip install -r requirements.txt
    
  8. if you encounter problems installing the requirements try to install the 'cryptography' library following those steps : [install crypto]

     $ pip install cryptography --global-option=build_ext --global-option="-L/usr/local/opt/openssl/lib" --global-option="-I/usr/local/opt/openssl/include"
    
  9. update the app/backend/config_secret_vars_example.py file with your mongoDB URI (if you're not using default mongoDB connection)

  10. got to your /cis folder and run :

     $ python run_cis_front.py --mode=testing
    
  11. Install Node.js and npm

  12. Build the front-end

     $ cd cis/app/frontend
     $ npm install 
     $ npm run build
    
  13. check in your browser at localhost:8100

PRODUCTION

  1. get a server - check digital ocean, OVH, ...
  2. optionnal : get a domain name : check OVH, namecheap, godaddy.... + setup DNS
  3. follow (most of) these instructions
  4. create a app/backend/config_secret_vars_prod.py file based on config_secret_vars_example.py structure
  5. go to app folder and create a virtual env (for instance called "venv")
  6. set up the gunicorn service and NGINX accordingly
  7. ... pray for all that to work as expected, and keep calm...

TECHNICAL POINTS

Tech stack


ROADMAP TO A MVP

To do list :

  1. DONE - set up a basic Flask skeleton
  2. DONE - make the landing page + integrate a form
  3. DONE - deploy with domain name
  4. DONE - create a login page and store users in db
  5. DONE - connect logged pages to openscraper API + display results
  6. DONE - create a search engine based on openscraper API
  7. what else ? ...

NOW WHAT ?

Next steps in the to do list :

  1. add project page when clicking on a project card (Vue.js)
  2. starting to implement charts section (Vue.js)
  3. add user preferences pages
  4. translations for english / spanish / german / ...
  5. ...

CREDITS

OpenScraper's team thanks :

Contacts - maintainance :


SCREENSHOTS (development)

landing page

alt text



login

alt text



register

alt text



home for connected user

alt text



search engine for connected user

alt text



backoffice to manage users

alt text



backoffice to manage feedbacks

alt text