Giter VIP home page Giter VIP logo

twlight's People

Contributors

akayjoshi avatar amire80 avatar ammarpad avatar ankit-gupta18 avatar arcayn avatar camp5456 avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar himanshukadian avatar jsnshrmn avatar kbae82 avatar lalit97 avatar nicole331 avatar nirmalasainsara avatar rexogamer avatar sahilgrewal8072 avatar saloniig avatar samwalton9 avatar shrey27tri01 avatar shubh1815 avatar soumyaa1804 avatar suecarmol avatar thatandromeda avatar translatewiki avatar traviscibot avatar uyscuti-wiki avatar vipinsj avatar wikipedialibrarybot avatar yashagrawal9265 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  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

twlight's Issues

New to this Project

Hey mates!!
I m Rahul Pawar. I m new to this project and interested in contributing to this project. I know python, CPP, c and, web development.
Please, anyone, guide me on how I can contribute. I can also help in documentation work.

Suggestion for adding commands in README

Last week I was helping a friend in local setup of the project. After going through the process I thought the commands related to example data generation (virtualenv_example_data.sh) and code formatting via black (docker-compose exec twlight /venv/bin/black -t py37 /app/TWLight) should be present in the main README.

I thought this way because example data generation command is too common which should be ran at first time setup whereas code formatting command is one which new contributors miss very often and their pull request fails because of this.

docker-compose up command

Status:_ Downloaded newer image for nginx:latest
Creating twlight_db_1 ... error                                                                                         
ERROR: for twlight_db_1  Cannot create container for service db: invalid volume specification: 'C:\Users\Vinit\Desktop\WIkiLibrary\TWLight\secrets\DJANGO_DB_NAME:/run/secrets/DJANGO_DB_NAME:ro'

ERROR: for db  Cannot create container for service db: invalid volume specification: 'C:\Users\Vinit\Desktop\WIkiLibrary\TWLight\secrets\DJANGO_DB_NAME:/run/secrets/DJANGO_DB_NAME:ro'
ERROR: Encountered errors while bringing up the project.

C:\Users\Vinit\Desktop\WIkiLibrary\TWLight>docker-compose exec twlight /app/bin/virtualenv_migrate.sh
ERROR: No container found for twlight_1`

I googled this issue though got only 3 results. Whats the problem here? (Using on Windows OS)

Allow login everywhere

Logging in for using the project should be possible in the header area of every page, not only on the homepage. I wondered why I couldn't click the application button because it was not clear to me that I need to be logged in but wasn't .

New member!

Hey folks!
I'm Rahul Pawar a B.tech second-year student at Visvesvarya National Institute of Technology, Nagpur, India. I am a newbie but have tried frontend mentor challenge, 2-star coder in Codechef, Gold medal in C, Cpp, Python in hackerRank. I'm interested in working with this organization and even participate in GSOC 2021. SO any mentor out there to guide me.
Thanks in advance.
Regards
Rahul Pawar

Database in not connecting

I tried to install the repository using the instructions given in readme file. But on running the container database is refusing to connect.

The steps I followed from the start (I am including the smallest steps ,so as not to miss anything)-

Installing docker and docker-compose

  1. installed docker from https://docs.docker.com/install/linux/docker-ce/ubuntu/
  2. added settings to manage docker as non-root user https://docs.docker.com/install/linux/linux-postinstall/
  3. installed docker-compose from https://docs.docker.com/compose/install/

Installing TWLight

  1. git clone the repository
  2. get in the repository directory and run docker-compose build && docker-compose up
  3. it runs smoothly but throws an error at the last when trying to connect to the database, continuosly displays the message.error message :
    db_1 | 2020-01-31 12:28:12 16 [Warning] Aborted connection 16 to db: 'unconnected' user: 'unauthenticated' host: 'twlight_twlight_1.twlight_default' (This connection closed normally without authentication)

error-1
error-2


  1. when trying to run migrations through the command docker-compose exec twlight /app/bin/virtualenv_migrate.sh. It shows Waiting for DB
    migrations


  2. Visiting to localhost gives the following error page

    error message :
    OperationalError at / (1130, "Host 'twlight_twlight_1.twlight_default' is not allowed to connect to this MariaDB server")
    web_error



    and on visiting 127.0.0.1 displays :
    127

System Specs :

  • OS : Linux Mint 19.3 Cinnamon (tried it on Ubuntu 18.04.3 also)
  • Docker version : 19.03.5, build 633a0ea838
  • Docker-compose version : version 1.25.3, build d4d1b42b
  • repository status : last commit

Already Tried Solutions

  • reinstalling docker, docker-compose and the repo.
  • checked : no other app/database server/service is running on 127.0.0.1 or localhost.

I have hashtags working completely fine on the same system with no issues with database or any other. (functioning with docker and docker-compose).
I tried to include most minute details in the issue. Thanks in Advance ! ๐Ÿ‘

docker-compose up throws error : "invalid mount config for type "bind": bind source path does not exist"

I am trying to install the repository according to the instructions given in the readme file.

System specs :

  1. Ubuntu 18.04 LTS
  2. Docker version 20.10.3, build 48d30b5
  3. docker-compose version 1.28.2, build 67630359

The steps I have followed are :

  1. Installed docker from https://docs.docker.com/install/linux/docker-ce/ubuntu/
  2. Added settings to manage docker as non-root user https://docs.docker.com/install/linux/linux-postinstall/
  3. Installed docker-compose from https://docs.docker.com/compose/install/

Then I cloned the repository and from inside the repository, I ran

  1. docker-compose build
  2. docker-compose up

The docker-compose build works fine, but on running docker-compose up, I am getting the following error :

Building with native build. Learn about native build in Compose here: https://docs.docker.com/go/compose-native-build/
Creating twlight_db_1 ... error

ERROR: for twlight_db_1  Cannot create container for service db: invalid mount config for type "bind": bind source path does not exist: /home/udit/Desktop/wiki/TWLight/conf/db/local.d

ERROR: for db  Cannot create container for service db: invalid mount config for type "bind": bind source path does not exist: /home/udit/Desktop/wiki/TWLight/conf/db/local.d
ERROR: Encountered errors while bringing up the project.

image

Already tried solutions :

  1. reinstalling docker, docker-compose and the repository.

I tried googling a lot but was not able to get a solution to this issue.

Kindly advise on how to solve this issue . Thanks in advance !

Migrating command fix

Migrating command in docs/developer.md
docker exec twlight virtualenv_migrate.sh
to be replaced by docker-compose exec twlight /app/bin/virtualenv_migrate.sh

with environment setup

Can anyone please help me with the environment setup. I have got docker and docker-compose. I ran a command docker-compose build && docker-compose up but its no getting complete I have attached the Screenshots please help me.
Screenshot from 2020-09-13 10-42-37
Screenshot from 2020-09-13 10-44-10

Editing Readme file

Hey folks!
Today I was setting up the environment for TWLight but I faced some issue with docker. Though I had it on my system but still due to some issue it wasn't showing. So instead of keeping Get docker Cant we add commands there so that a newbie like me dont find trouble.
If yes I would add it.

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.