Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update: INSTALLATION.md #773

Closed
kb-0311 opened this issue Oct 23, 2022 · 3 comments · Fixed by #774
Closed

Update: INSTALLATION.md #773

kb-0311 opened this issue Oct 23, 2022 · 3 comments · Fixed by #774
Assignees
Labels
bug Something isn't working

Comments

@kb-0311
Copy link
Contributor

kb-0311 commented Oct 23, 2022

Describe the bug

3. Talawa-API uses a configuration file named `.env` in the root directory. It is not a part of the repo and you will need to create it. There is a sample configuration file named `.env.sample` in the root diretory. Create a new `.env` file by copying the contents of the `.env.sample` file.
cp .env .env.sample

This is a wrong method of copying the contents of .env.sample to env and instead, the command should be cp .env.sample .env as rectified below in the same installation guide.

To Reproduce
Steps to reproduce the behavior:

  1. Running cp .env .env.sample makes the .env.sample file empty
  2. Sample env contents are flushed

Expected behavior
Content of .env.sample compiled to newliy created .env file .

Actual behavior
Contents of empty .env file copied on .env.sample (clearing out the file).

Possible Fix
change the command in that line to cp .env.sample .env

@kb-0311 kb-0311 added the bug Something isn't working label Oct 23, 2022
@github-actions github-actions bot added the unapproved Unapproved for Pull Request label Oct 23, 2022
@github-actions
Copy link

Congratulations on making your first Issue! 🎊 If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues.

@palisadoes
Copy link
Contributor

@kb-0311 Please follow the procedure of creating the issue, and waiting for it to be approved. We do it this way to prevent a chaotic process. We had that situation in the past and we really don't want to repeat it. Thanks for your contribution, but please follow the guidelines in our CONTRIBUTING.md file

@kb-0311
Copy link
Contributor Author

kb-0311 commented Nov 2, 2022

Thanks for the merge @palisadoes . Yes, Sorry, I will first discuss the issue on the slack channel before opening an issue. Thanks for the CONTRIBUTING guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants