Django3.x
PostgreSQL
Redis
Gmail
The application itself has three modules.
- Birthday
- Event
- Wedding
# clone the repository
git clone https://github.com/OkularID/ReservasiDulu
# move into it
cd events
# create your own virtual environment and activate it
python -m venv env
# for windows powershell
env/Scripts/activate
# for Linux (Ubuntu/Debian based)
source env/bin/activate
# install all the dependencies
pip install -r requirements.txt
# run the server
# (Ubuntu/Debian) based
./manage.py runserver
# Windows PowerShell
py manage.py runserver# makemigrations
./manage.py makemigrations
# migrate the database
./manage.py migrate
# create the superuser
./manage.py createsuperuserTodo lists:
- Adding event for each logged in user
- Adding more option to choose in the admin dashboard
- Adding multiple form (input choice) for user to choose the price of the events
- Adding dashboard
- Adding payment
- Adding template models to use multiple template choices
main_template
style.cssapp.js
dev_template
-
global_frontwhatever_fonts.ttfanother_whatever_fonts.ttfanother_what_the_fuck_fonts.ttf
-
global_styledefault.cssowl_carousel.cssbootstrap.min.css
-
template_1style.css
-
template_2style.css
-
template_3style.css
How to contribute
- Fork ke masing-masing akun.
- Clone menggunakan
gitdengan perintah:
git clone https://github.com/USERNAME/ReservasiDulu.git nama_folder
atau
git clone git@github.com:USERNAME/ReservasiDulu.git nama_folder
Rubah bagian username di atas dengan username masing-masing setelah melakukan Fork.
kedua perintah di atas sama saja (menggunakan method SSH dan HTTPS).
Setelah melakukan Fork dan clone ke local / komputer kita, kita sudah bisa melakukan development.
Cara melakukan push ke repository kita
git init
git add .
git commit -m "isi pesan"
git push origin master
Cara melakukan pull request / PR
Klik Pull Request pada bagian bawah seperti di gambar ini:
Isikan pesan / comment lalu pilih tombok Create Pull Request yang berwarna hijau di bagian kanan bawah
Selama terdapat notifikasi Able to merge artinya kita aman untuk melakukan Pull Request / PR kepada repository utama / master.
Setelah itu tunggu hingga terdapat notif button berwarna biru bertuliskan merged, yang artinya Pull Request kita telah diterima oleh master.
Issue
Jika ada yang tidak dapat diselesaikan, maka sangat dianjurkan untuk membuka issue / discussion pada repository master agar masalah tersebut dapat diselesaikan bersama-sama.
# Verify current remote repo
$ git remote -v
> origin https://github.com/YOUR_USERNAME/YOUR_FORK.git (fetch)
> origin https://github.com/YOUR_USERNAME/YOUR_FORK.git (push)
# add remote upstream
$ git remote add upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git
# fetching from upstream branch
$ git fetch upstream
> remote: Counting objects: 75, done.
> remote: Compressing objects: 100% (53/53), done.
> remote: Total 62 (delta 27), reused 44 (delta 9)
> Unpacking objects: 100% (62/62), done.
> From https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY
> * [new branch] master -> upstream/master
# checkout to local master
$ git checkout master
> Switched to branch 'master'
# or
> git checkout master
M README.md
Already on 'master'
Your branch is up to date with 'origin/master'.
# Merge the change from [upstream/master] into your local [master] branch
$ git merge upstream/master
> Updating a422352..5fdff0f
> Fast-forward
> README | 9 -------
> README.md | 7 ++++++
> 2 files changed, 7 insertions(+), 9 deletions(-)
> delete mode 100644 README
> create mode 100644 README.md
# or
$ git merge upstream/master
> Updating 34e91da..16c56ad
> Fast-forward
> README.md | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)That's it and you are ready to go!.



