These are chat archives for fossasia/open-event-server

25th
Apr 2018
AK.py
@Abhi-khandelwal
Apr 25 2018 03:59 UTC
Hello Everyone , I am Abhi Khandelwal from INDIA , I am new to OpenSource, this one is my first project in open-source and I wanted to contribute to OPEN-EVENT-SERVER project .
My Skills Sets are Python , flask , django .
I wanted to know the future of this project and From where should I start ?
Mayank Vaidya
@mayank8318
Apr 25 2018 07:19 UTC
Hello @Abhi-khandelwal and Welcome to FOSSASIA!! Please go through the link https://blog.fossasia.org/open-source-developer-guide-and-best-practices-at-fossasia/ for the best practices followed at FOSSASIA. You can set up the project by following this link https://github.com/fossasia/open-event-server/blob/development/docs/installation/basic.md and start off with some easy issues :)
AK.py
@Abhi-khandelwal
Apr 25 2018 15:48 UTC
Thanks @mayank8318 for help , I complete all the steps but in the end I stuck up in last two step when I run redis-server and then try "python manage.py runserver " and then open the localhost it doesnot show anything.
Mayank Vaidya
@mayank8318
Apr 25 2018 16:20 UTC
@Abhi-khandelwal Is your celery instance running properly
AK.py
@Abhi-khandelwal
Apr 25 2018 16:21 UTC
No , first of all can you please explain me that here why we use celery and what is celery ?
Mayank Vaidya
@mayank8318
Apr 25 2018 16:24 UTC
@Abhi-khandelwal sure! Celery is an asynchronous task queue/job queue based on distributed message passing. It is focused on real-time operation, but supports scheduling as well.
The execution units, called tasks, are executed concurrently on a single or more worker servers using multiprocessing, Eventlet, or gevent. Tasks can execute asynchronously (in the background) or synchronously (wait until ready).
This is from their official page
For why celery you can go through the introduction here -> https://www.fullstackpython.com/celery.html
AK.py
@Abhi-khandelwal
Apr 25 2018 16:26 UTC
@mayank8318 , so how can I check that my celery instance is working or not ?
Mayank Vaidya
@mayank8318
Apr 25 2018 16:28 UTC
Start the celery instance in a different terminal
You need to do this before running manage.py
AK.py
@Abhi-khandelwal
Apr 25 2018 16:30 UTC
ok
AK.py
@Abhi-khandelwal
Apr 25 2018 16:44 UTC
@mayank8318 it says "CDeprecationWarning:
Starting from version 3.2 Celery will refuse to accept pickle by default"
Areeb Jamal
@iamareebjamal
Apr 25 2018 16:55 UTC
Actually, you need celery for some tasks but the basic server instance should run without it and redis. What's the error you are getting and how did you try to access the server?
Also, as you mentioned in your message, that's a deprecation warning, and not an error
check it out ....
Max Lorenz
@maxlorenz
Apr 25 2018 17:55 UTC
Once the server is running, you can check the status of Celery at /health-check :)
Areeb Jamal
@iamareebjamal
Apr 25 2018 18:00 UTC
That is already running. What's the problem
AK.py
@Abhi-khandelwal
Apr 25 2018 18:01 UTC
@iamareebjamal when I start localserver , it says unable to locate the URL
Areeb Jamal
@iamareebjamal
Apr 25 2018 18:02 UTC
How do you access the URL. What do you type in your browser?
AK.py
@Abhi-khandelwal
Apr 25 2018 18:04 UTC
@iamareebjamal I tried it on both Chromium and Firefox
Areeb Jamal
@iamareebjamal
Apr 25 2018 18:05 UTC
What do you type in your browser?
Areeb Jamal
@iamareebjamal
Apr 25 2018 18:06 UTC
Try localhost:5000
AK.py
@Abhi-khandelwal
Apr 25 2018 18:07 UTC
@iamareebjamal thanx it working