Open-event-server: Create recommended installation steps for docker-compose and link in frontend

Created on 25 Jul 2020  路  40Comments  路  Source: fossasia/open-event-server

The recommended mode for installation of open event on servers is using docker-compose, which we use in production. Steps for that aren't available in the docs. So create steps for deployment of both server and frontend in respective repositories and link them respectively

docs good-first-issue help-wanted

All 40 comments

@iamareebjamal I want to work on this issue with you.

Go ahead

Can you guide me a bit as I am a noob to open source and this is the first issue that I am working for.

I understand, but you need to solve this yourself. If I give you the exact instructions, that'll be spoonfeeding and you'll not learn anything in the process. Deploy the server using docker-compose locally and document those steps

Hi Sir, I have successfully set up the docker in my system. Whenever I try to run the command "docker-compose up", an error:

Couldn't find env files: /path/.env
occurs. Do I need to change the code to run it locally?

You need to copy .env.example to .env

Like written in README

Does it usually take huge time for the command 'docker-compose up' command to end or mine is taking very long on ubuntu terminal?

Depends on your internet connection. It shows you the progress about what it's doing

Screenshot from 2020-07-29 11-01-38
These processes keep on repeating. Am I on the right path?

It is running

DocType has been renamed to Document in newer versions.
Shall I update the code and change the DocType to Document or do anything else as DocType is not able to be imported from elasticsearch_dsl.

Remove elasticsearch code. It isn't being used

Screenshot from 2020-07-30 17-36-58
Sir an Error 'Running outside of application context' is raising. How can I resolve this ishue?

That is strange. I recently set up the project and it didn't come up. I see you're not using virtual env, use that

Screenshot from 2020-07-30 22-14-32
Even after changing to a virtual environment, same problem persist

If you installed requirements.txt, how was it missing qrcode dependency? Use pip and python, not pip3 and python3

Screenshot from 2020-07-31 01-01-59
Sir I have even tried using python create_db.py but the same error occurs.

We use python3.7

Project isn't compatible with 3.8

Is this still open??
What does it mean by link in frontend?

Link in frontend docs

do we have to create a separate issue in the frontend repo?

So create steps for deployment of both server and frontend in respective repositories and link them respectively

Link in frontend docs to where ?
Can you please specify?

In frontend repo

I am building open-event-server using docker, after i run this command
docker run web sh
I get this error:

[LOG] Using redis: redis://redis:6379/0 failed to resize tty, using default size

You should use docker-compose, not individual docker command

Hey can I attempt this too , I think I will be able to run it and then update the docs

Go ahead

Hey @iamareebjamal does this still require help? Will try to help out.

Last section needs to be modified still

@iamareebjamal Will update and try to contribute.

Hey!
Would love to contribute to this in any matter possible. @iamareebjamal @godslayer201 @DiptoChakrabarty are you guys still working on this? or is it open to take up?

Open

Thank you so much
could you assign me please? @iamareebjamal

Please send a PR

Hello! is it open to take up? i wanna work on this.

Green means open

Okay!

I would like to work on this issue

I wanna work this issue

Was this page helpful?
0 / 5 - 0 ratings