-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
NoMongo: Create a setup script for the develop-postgres
branch
#2688
Comments
can i get assigned to this issue ? |
We will need a way for people to test the application by seeing what it can do. The loading of sample data via the setup script helps a lot. It also helps with the new contributors as they can get a better understanding of the features. We really need this. How can you facilitate this with the coding you are doing? |
This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue. |
Unassigning. Inactivity. |
I would like to work on this issue, but before assigning please check with @xoldd as, in projects channel he mentioned that postgres branch shouldn't be openly collaborated right now |
@palisadoes plz assign me. If no one assigned. |
@palisadoes please assign this issue to me. |
This is on hold until the |
as |
@palisadoes Currently there is no need of a setup script for develop-postgres. The steps that I had shown in the video, those are minimal amount of steps. Not everything can be automated. |
It's necessary for the user experience of all levels of developers and sysadmins. Going through the videos it's clear that we need a basic setup script to define most essential variables to get the app working. These include:
We will also need the option to load the most basic data into the database such as:
All these features have been extremely useful in the past in getting new contributors on board as fast as possible without hesitation. A setup script is necessary. |
develop-postgres
branchdevelop-postgres
branch
I think if we can bit play with the manual setup without setup script and familiar with current script can solve this issue easily |
can u elaborate your approach so that I can implement that |
I mean the flow of the setup script needs to be similar to the current MongoDB. And you can play with Postgres setup without any setup script so that you can get familiar with everything there and easily integrate them into setup script |
Yes, and make sure it has tests |
Background
Other
|
alright will start work on this |
started work on setup script, here's what the plan is create a .env file, with variables:
the tests will check whether postgres, minio, cloubdbeaver and api is running or not |
To make things easier I think you should split this into sections. For example, only go into details if the user decides not to use the recommended defaults. This will make it much faster to setup.
Do what you can to minimize the long list of questions that need to be asked. The quicker the setup, the better. |
alright sir |
The docs/ directory needs to be excluded. It's docusaurus specific and is used to create the website docs-api.talawa.io |
added
should this be a different issue? |
|
I was able to understand how to run tests from the github actions |
another point, i created test file to test my setup script, I ran the the whole test suite using docker compose
it is clear that the test failed, but still I get this |
Your failed test is probably exiting with a zero (0) exit code. |
This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue. |
Is your feature request related to a problem? Please describe.
develop-postgres
branch.develop
branchDescribe the solution you'd like
PRs related to
setup.ts
require a high degree of manual verification by our reviewers and errors are frequent.setup.ts
file is always being modified.Your job is to make the execution of the
setup.ts
file be:A tech novice or new contributor should be able to install the API without issue.
For the successful completion of this issue:
setup.ts
file without manually inputting responses to prompts, including:git commit
workflowsThis may mean making changes to the
setup.ts
file.Describe alternatives you've considered
Approach to be followed (optional)
This issue may require the refactoring of this script file to make it:
Testing must verify that the:
Plus any other tests that could avoid failure based on the PR comments for the issues below.
Other items to consider include:
tests/
directory.github
directoryAdditional context
These are issues where setup has been modified and in most cases have introduced more errors:
setup.ts
#1680Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship
The text was updated successfully, but these errors were encountered: