Coder Social home page Coder Social logo

opensourcehelpcommunity / opensourcehelpcommunity.github.io Goto Github PK

View Code? Open in Web Editor NEW
42.0 9.0 57.0 763 KB

Open source help community website

Home Page: http://opensourcehelpcommunity.herokuapp.com/

License: MIT License

Python 25.70% CSS 6.64% HTML 40.61% JavaScript 27.05%
open-source help community website django

opensourcehelpcommunity.github.io's Introduction

Open Source Help Community

Build Status Coverage Status

OSHC

We are trying to create a medium where people who want to start with contributing to open sources and open source contributors meet and discuss their thoughts and questions(Getting Started With Open Source).

Website [WIP]

Deployement details

After every commit

  1. The predev branch on GitHub is automatically deployed to opensourcehelpcommunity-predev.herokuapp.com.
  2. The develop branch on github is automatically deployed to opensourcehelpcommunity-dev.herokuapp.com.
  3. The master branch is automatically deployed to opensourcehelpcommunity.herokuapp.com .

This is using Django(1.11) and Bootstrap

How to Contribute

This is an Open Source project and we would be happy to see contributors who report bugs and file feature requests submitting pull requests as well. This project adheres to the Collaborative code of conduct. By participating, you expect to maintain the code of conduct. Before creating New issue and Pull request, please refer to the template.

All the development is done on predev branch and once we're ready for testing the deployment in real environment with databases we merge the predev branch with the develop branch. When we're ready for new release we merge develop with master to deploy it on our main website. Please submit your pull request based on predev branch.

Installations

Run

pip install -r requirements.txt

to install everything required to run this project on heroku as well as on your local.

To run this in your local

  1. Clone this repository using

    git clone [email protected]:OpenSourceHelpCommunity/OpenSourceHelpCommunity.github.io.git
  2. Go inside main Django app Instructional video on installing Django

    cd oshc
  3. Install pre-commit into your git hooks. pre-commit will now run on every commit. Every time you clone a project that is using pre-commit running pre-commit install should always be the first thing you do after installing requirements.

    pre-commit install
  4. Collectstatic files using

    python manage.py collectstatic
  5. Run the app

    python manage.py runserver

To run the web app in Debug mode set the DEBUG environment variable. In Linux, run the export DEBUG=True command in the terminal.

Feel free to raise and fix issues. For any questions, join #oshc-dev on Slack. Get an invite here.

Note: All design related tasks have reward associated with them.

opensourcehelpcommunity.github.io's People

Contributors

aaronmaynard avatar abarya avatar acolombo11 avatar alagram avatar amakarudze avatar aman9875 avatar amarlearning avatar anubhakushwaha avatar bhatiatanish avatar bikrambhattacharya avatar chinmaykunkikar avatar cmdrwebdev avatar datasapient avatar jarifibrahim avatar joshua2504 avatar logan1x avatar melrick8196 avatar mish24 avatar nickatak avatar nikhita avatar s24569 avatar tapaswenipathak avatar vaibhavsingh97 avatar vinaypuppal avatar wallid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opensourcehelpcommunity.github.io's Issues

the browser is zoomed out and the navbar menu doesn't open in mobile screen

1-missing meta tag <meta name="viewport" content="width=device-width, initial-scale=1">

This means that the browser will (probably) render the width of the page at the width of its own screen. So if that screen is 320px wide, the browser window will be 320px wide, rather than way zoomed out and showing 960px (or whatever that device does by default

2-the order of the scripts " jquery.js,bootstrap.js" is wrong. the jquery.js must be called before bootstrap.js. because that the bootstrap.js require jquery.js to render first to work smoothly
3-add the .collapsed class to the button on the navigation

Heroku Build Failed

The recent Heroku build failed with the following error

-----> Python app detected
-----> Installing requirements with pip
       Collecting dj-database-url==0.4.2 (from -r /tmp/build_153f7c2bf384dec28f7c4a2a1d28abd5/OpenSourceHelpCommunity-OpenSourceHelpCommunity.github.io-674ba75/requirements.txt (line 1))
         Downloading dj_database_url-0.4.2-py2.py3-none-any.whl
       Installing collected packages: dj-database-url
         Found existing installation: dj-database-url 0.3.0
           Uninstalling dj-database-url-0.3.0:
             Successfully uninstalled dj-database-url-0.3.0
       Successfully installed dj-database-url-0.4.2
-----> $ python oshc/manage.py collectstatic --noinput
       Traceback (most recent call last):
         File "oshc/manage.py", line 10, in <module>
           execute_from_command_line(sys.argv)
         File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 363, in execute_from_command_line
           utility.execute()
         File "/app/.heroku/python/lib/python2.7/site-packages/django/core/management/__init__.py", line 337, in execute
           django.setup()
         File "/app/.heroku/python/lib/python2.7/site-packages/django/__init__.py", line 27, in setup
           apps.populate(settings.INSTALLED_APPS)
         File "/app/.heroku/python/lib/python2.7/site-packages/django/apps/registry.py", line 108, in populate
           app_config.import_models()
         File "/app/.heroku/python/lib/python2.7/site-packages/django/apps/config.py", line 202, in import_models
           self.models_module = import_module(models_module_name)
         File "/app/.heroku/python/lib/python2.7/importlib/__init__.py", line 37, in import_module
           __import__(name)
         File "/app/.heroku/python/lib/python2.7/site-packages/django/contrib/auth/models.py", line 4, in <module>
           from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
         File "/app/.heroku/python/lib/python2.7/site-packages/django/contrib/auth/base_user.py", line 52, in <module>
           class AbstractBaseUser(models.Model):
         File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/base.py", line 124, in __new__
           new_class.add_to_class('_meta', Options(meta, app_label))
         File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/base.py", line 330, in add_to_class
           value.contribute_to_class(cls, name)
         File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/options.py", line 214, in contribute_to_class
           self.db_table = truncate_name(self.db_table, connection.ops.max_name_length())
         File "/app/.heroku/python/lib/python2.7/site-packages/django/db/__init__.py", line 33, in __getattr__
           return getattr(connections[DEFAULT_DB_ALIAS], item)
         File "/app/.heroku/python/lib/python2.7/site-packages/django/db/utils.py", line 211, in __getitem__
           backend = load_backend(db['ENGINE'])
         File "/app/.heroku/python/lib/python2.7/site-packages/django/db/utils.py", line 115, in load_backend
           return import_module('%s.base' % backend_name)
         File "/app/.heroku/python/lib/python2.7/importlib/__init__.py", line 37, in import_module
           __import__(name)
         File "/app/.heroku/python/lib/python2.7/site-packages/django/db/backends/postgresql/base.py", line 36, in <module>
           raise ImproperlyConfigured("psycopg2_version 2.5.4 or newer is required; you have %s" % psycopg2.__version__)
       django.core.exceptions.ImproperlyConfigured: psycopg2_version 2.5.4 or newer is required; you have 2.5.1 (dt dec pq3 ext)
 !     Error while running '$ python oshc/manage.py collectstatic --noinput'.
       See traceback above for details.
       You may need to update application code to resolve this error.
       Or, you can disable collectstatic for this application:
          $ heroku config:set DISABLE_COLLECTSTATIC=1
       https://devcenter.heroku.com/articles/django-assets
 !     Push rejected, failed to compile Python app.
 !     Push failed

Avoid Redirection

We should make a script which will fetch all the video from the channel and display on a page.
Actual Behaviour: opening session tab redirects to youtube page
Expected Behaviour: opening session page should display videos on the page itself.

I am interested in working on this issue

Need instructions for installing Django

I need help with installing Django. I already succeeded in installing python and pip but for whatever reason I run into trouble when it comes time to put Django onto my computer.
screen shot 2017-05-02 at 9 44 30 am

Add wiki

Write about

  1. the project.
  2. the branches.
  3. how to install
  4. any other information which makes it easier for someone to get started.

Change navbar and footer color back to #eeeeee

With new design push this was also changed, black looks too strong to eyes. Going with the original theme, blue, white and grey and light shades of these should do for all elements on the website.

Travis CI need update

Description:

Travis CI build failed in the recent PR

Actual Behavior:

Travis build failing

Logs:

serializers.serialize("json", get_objects(), indent=None, stream=out)
File "/home/travis/virtualenv/python3.6.2/lib/python3.6/site-packages/django/core/serializers/__init__.py", line 129, in serialize
 s.serialize(queryset, **options)
File "/home/travis/virtualenv/python3.6.2/lib/python3.6/site-packages/django/core/serializers/base.py", line 80, in serialize
 for count, obj in enumerate(queryset, start=1):
File "/home/travis/virtualenv/python3.6.2/lib/python3.6/site-packages/django/db/backends/base/creation.py", line 117, in get_objects
 for obj in queryset.iterator():
File "/home/travis/virtualenv/python3.6.2/lib/python3.6/site-packages/django/db/models/query.py", line 53, in __iter__
 results = compiler.execute_sql(chunked_fetch=self.chunked_fetch)
File "/home/travis/virtualenv/python3.6.2/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 886, in execute_sql
 raise original_exception
File "/home/travis/virtualenv/python3.6.2/lib/python3.6/site-packages/django/db/models/sql/compiler.py", line 876, in execute_sql
 cursor.execute(sql, params)
File "/home/travis/virtualenv/python3.6.2/lib/python3.6/site-packages/django/db/backends/utils.py", line 65, in execute
 return self.cursor.execute(sql, params)
File "/home/travis/virtualenv/python3.6.2/lib/python3.6/site-packages/django/db/utils.py", line 94, in __exit__
 six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/home/travis/virtualenv/python3.6.2/lib/python3.6/site-packages/django/utils/six.py", line 685, in reraise
 raise value.with_traceback(tb)
File "/home/travis/virtualenv/python3.6.2/lib/python3.6/site-packages/django/db/backends/utils.py", line 65, in execute
 return self.cursor.execute(sql, params)
File "/home/travis/virtualenv/python3.6.2/lib/python3.6/site-packages/django/db/backends/sqlite3/base.py", line 328, in execute
 return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: no such table: main_chatsession

Would you like to work on this issue?

  • Yes
  • No

Adding template for footer

According to DRY Principle, The aim should be reducing the repetition of information.
The footer is present in the index.html file and in future we will have more pages, so to avoid repetition we will add this in the template.

Existing behavior: Footer code snippet is present in the index.html
Actual Behaviour: Footer should be present as a template so that we can just use the code-block

I am interested in working on this issue

Integrate Hound CI

Description:

Hound CI is a hosted service that comments on the style violations of the pull requests. This helps to review and maintain a clean codebase.

Would you like to work on this issue?

  • Yes
  • No

Different screen compatibility

Actual Behavior:
image
image
image
Expected Behaviour: Website sholud adapt different screens
Yes! I am interested in working on this issue

Suggest design layouts for website

Brainstorm a little and let us know how we can integrate the following features in our site :

  • New developers can request for installation guide in the form of GIF/Screenshots,etc about any open source project they are working on and our team can respond back to them accordingly

  • The budding pool of developers can request for Q/A sessions or live stream sessions of the established developers they look upto so that we could arrange for that as well.

We basically want design ideas from your side,how would you place it on our site so that it's easily accessible by the new folks entering into the world of open source :)

Why OSHC?

Need suggestions on how should we link this to the main website. Not everything can go in "our mission" on the main website. I am not able to figure out what could be the best way for a detailed writeup on "about us" or "about oshc".

Few options are

  • A blog in form of markdown file in this repository, linked with element on footer of the website
  • Page on the website itself attached with a link on the footer
  • Adding it on wiki in this repository [visibility issues]

Please suggest if more options are there to have this.

Ideas on making the website user-specific

FEATURE REQUEST

Description:

We are planning to make the website more user-interactive and ideas will be appreciated

  • Show all the sessions on the website itself so that the user can bookmark those sessions for future.

  • Functionality to view previous requests for sessions

  • Add a "My Journey" section, where the developers can add their experience with open source

  • We can also plan on adding labels on issues with points(coins) on issues which could give the developers their own dashboard of how many points won,etc.

These are just some ideas, whether implementable or not at this point, we would really appreciate involvement of as many minds as possible to bring out something productive, feel free to comment with your suggestions regarding the existing features or any new idea that you can think of.

Crowdsource the projects and their categories

Allow the user to submit a project and tag in categories. Next step for #23, need #25.

After user login, they should be able to submit a project and tag a project.

  1. Name of the project.
  2. Documentation link of the project.
  3. Tag with technologies/programming language/CS areas/summer of code programs of the project.
  4. Organization of the project.

Store sessions in database

Save information about the upcoming sessions and render those on the home page.
Information about sessions can be added/updated using the Admin interface.

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.