👍🎉 First off, thanks for taking the time to contribute! 🎉👍
The following is a set of guidelines for contributing to SlamApp, which is currently hosted on pythonanywhere server but will be hopefully moved to sntc server of IIT Mandi soon. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.
$ # Get the code
$ git clone https://github.com/fiterace/slamapp.git
$ cd slamapp
$
$ # Virtualenv modules installation (Unix based systems)
$ virtualenv env
$ source env/bin/activate
$
$ # Virtualenv modules installation (Windows based systems)
$ # virtualenv env
$ # .\env\Scripts\activate
$
$ # Install modules
$ # SQLIte version
$ pip3 install -r requirements.txt
$
$ # Create tables
$ python manage.py makemigrations
$ python manage.py migrate
$
$ # Start the application (development mode)
$ python manage.py runserver # default port 8000
$
$ # Start the app - custom port
$ # python manage.py runserver 0.0.0.0:<your_port>
$
$ # Access the web app in browser: http://127.0.0.1:8000
Note : For login you have to add google oauth credentials. Visit the Google API Console to obtain OAuth 2.0 credentials - client ID and client secret and configure them in admin page as explained in this tutorial. For more info on what else you can do with django-allauth library you can visit https://django-allauth.readthedocs.io/
- Fork this repository to your github account.
- Clone the forked repository.
git clone https://github.com/fiterace/slamapp.git
- Create a new branch.
git checkout -b NewBranchName
- Make your changes.
- Stage the changes.
git add path/to/changed-files
- Commit your changes.
git commit -m "Appropriate Commit Message"
- Push your Changes
git push origin NewBranchName
- Create a Pull request
- Mention someone to review it.
- Celebrate your Contribution 🚀
In case You want to contribute to this project, here is a little list of features, we are planning to implement in future. Try your hands on anyone of these and hit a Pull Request! Or have yor own idea! Feel free to suggest your ideas or report a bug in issues or drop us a mail at b18012@students.iitmandi.ac.in
(Bhumanyu Goyal) or b18123@students.iitmandi.ac.in
(Naman Tayal).
- Basic Slam Book app
- Add custom slambook creation
Create Slam
feature - Add notification feature
- Add invite link sending feature
-
Add Memories
(image/video file) uploading feature - Add Slam Book
Download
feature ( A soft copy of Slams will be available for download after slambook filling period.) - Add
Drop in Graffiti
feature (Feel like dropping a few words about someone? Drop in a GRAFFITI.) - Social Profile feature (User profiles can be filled, updated and browsed)
- Public/Private option in profile (An option in 'Edit Profile' to make SLAMBOOK public or private according to your convenience. The default setting will be 'Public'.)
Thanks! ❤️ ❤️ ❤️
Bhumanyu Goyal, Naman Tayal
Literary Society, IIT Mandi