Skip to content

Share your git repository and attach a paper to keep things organized

License

Notifications You must be signed in to change notification settings

sourenaKhanzadeh/iShare

Repository files navigation

Name: Sourena Khanzadeh

Online Demo: iShare

Project Title: iShare

Instructor: Ghassem Tofighi

License: MIT License

Welcome to iShare

Sample Logo

| Welcome to iShare |

For more informations go to https://github.com/sourenaKhanzadeh/iShare


/^\   ---------    ==   ==  ----------   ===========     *========
\//  / =====\ \\   ||   ||  | ===  == |  | |  _____  |  ||
|||   \\     \_\\  ||   ||  | ^     ^ |  | |  |   | |   ||
|||  = \\          =======  | - (.) - |  | |=========   |========
|||  || \\         =======  |\/\/\/\/\|  | |     \ \    ||
|||  ||  \\        ||   ||    \\   //    | |      \ \   ||
===  ======        ==   ==   =========   ===      ===    =========

Enter Your Websites Title: iShare

About iShare


This is a very simple app that allows you to connect your repository code to a piece of paper. This app is very similar to paperswithcode.com. You can modify this app the way you want to. Follow the instructions sections to use iShare like it's meant to be used. In iShare you can create sections as an admin, have disscussion in each paper, and allow users to upload their git repository with a pdf paper attached to it.

Default features


YOU CAN DISABLE/ENABLE EACH OF THESE FEATURES IN SETTING'S PAGE, SOME AS ADMIN AND SOME AS USER

  • Discussion Board

    • allows user's to create discussions in the paper section.
      • NOTE: admin only can disable or enable this feature
  • SMTP Email Service

    • Send's users a welcoming email on signing up and allow you to send weekly or monthly email
      • NOTE: admin only can disable or enable this feauture
  • Animation's

    • wave animation for the landing page

Tasks

  • Page Pagination
  • tags
  • Enhanced Sections
  • About Page

Watch This Video


video

Automatic Heroku Deployment

Deploy

Install heroku plugin < mlab > to be able to use iShare. go to settings in heroku and reveal config, insert MONGODB_URI in confi vars and add [mongodb URI value], for more information go to here

To Add an Admin


sign up as a regular user, then go to mlab, find the user you want to make admin, turn that user fsr from false to true.

How To Change Email Content Sent To New Users


go to myModules>admin>email_services>email_content.html

change email_content.html as you wish.

<h1>Welcome To iShare</h1>
    <section>
        <p>Thank You For Joining The Community, [USER]</p>
        <p> Click here and join our youtube <a href="https://youtube.com">YouTube</a></p>
</section>

NOTE: ['USER'] will be replaced by the new user that just signed up and gets the greeting.

Change About Us


go to templates>pages>about.html

change about.html as you please:

{% block body%}
<!-- Write About your website here-->

{% endblock %}

Mannual Installation: Not__Recommended (NOTE:You Must deploy to heroku mannually)


    git clone https://github.com/sourenaKhanzadeh/iShare.git
    
    cd iShare
    
    python config.py
  1. run config.py
  2. Enter all inputs config.py requires
  3. OPTIONAL: delete config.py

Requirements


Take a look at requirements.txt

certifi==2019.3.9
chardet==3.0.4
Click==7.0
dnspython==1.16.0
Flask==1.0.3
Flask-SocketIO==4.1.0
gunicorn==19.9.0
idna==2.8
itsdangerous==1.1.0
Jinja2==2.10.1
MarkupSafe==1.1.1
pymongo==3.8.0
python-engineio==3.8.1
python-socketio==4.1.0
requests==2.22.0
six==1.12.0
urllib3==1.25.3
Werkzeug==0.15.4

The above are the modules you need to install. install using pip

    pip install -r requirements.txt

manual Heroku Deployement

  npm install -g heroku
  
  heroku create
  
  heroku git:clone -a [apps_name]
  
  git init
  
  git commit -m "initialize commit"
  
  git push heroku master
  
  heroku open

Tree view


  • myModules
    • admin
      • email_service
        • admin_email.py
        • email-content.html
      • admin.py
      • delete.py
      • edit.py
      • section.py
    • github
      • github_api.py
      • repos.py
      • users.py
    • model
      • database
        • database.py
        • deleteone.py
        • findone.py
        • insert.py
        • query.py
      • hash.py
      • login.py
      • logout.py
      • signup.py
    • paper_manager
      • detail.py
      • query.py
      • upload.py
    • tools
      • tools.py
    • user
      • delete.py
      • about.py
      • edit.py
      • profile.py
      • settings.py
  • static
    • images
      • iShare_logo.png
    • css
      • styleA.css
    • js
      • admin.js
      • discussion.js
      • header.js
      • landing.js
      • query.js
      • settings.js
      • wave.js
    • sass
      • styleA.scss
      • animation.scss
      • constants.scss
      • defaults.scss
      • media.scss
      • mixins.scss
  • templates
    • pages
      • admin.html
      • detail.html
      • edit.html
      • landingpage.html
      • login-register.html
      • profile.html
      • query.html
      • settings.html
      • upload.html
      • about.html
    • template
      • footer.html
      • header.html

About

Share your git repository and attach a paper to keep things organized

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published