-
Notifications
You must be signed in to change notification settings - Fork 603
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
Improve Setup Script #1709
Comments
I run macOS High Sierra and when I ran |
The message for when ruby 2.5 is not available should just say to install it, without insisting on a specific method. It can link to https://rvm.io/ as one option for doing so, but without any more specific instructions than that. The exact instructions in the current script didn't work for me on a Mac, but other instructions from the RVM website did. |
The I changed the script to complete setup. |
Hi, just leaving my notes on the setup files here. It's a ~1000 word markdown file with notes on both ubuntu and windows installations, and which documents the changes in the PR I made. |
Hey,I'm setting up https://github.com/WikiEducationFoundation/WikiEduDashboard If anyone can help it will be great!!!! |
Hi @hardy1334, have you populated the database? If not, you can run |
Thanks @psinghal20 I will definetly do this |
@ragesoss can you send me slack invite |
@hardy1334 I'll need your email address. You can reach me at [email protected] |
@psinghal20 In my dashboard,I'm not having tab of students option, once I login with Instructor' s account,Can you help me with that |
@hardy1334 The editors tab is same as the students tab. You can enroll editors(students) for the course from there. |
I am setting up a development environment for WikiEduDashboard. When I run python3 setup.py, I get an error I am not able to resolve it. Can someone help me with this. |
Hi @gautamig54, looks like there is some error during user setup steps. Could you check if the user is correctly setup? You can do so by running |
@psinghal20, I sorted the issue. I just had to allow certain grants explicitly for the mysql database dashboard. It worked fine post that. |
Hello @gautamig54 could you explain how you did it? I'm have exactly the same error |
Hi @helenatxu, You should try giving the wiki user created grants for the wikiEducation Dashboard explicitly. You can do this by running: Assuming default user credentials |
Hello, I got same problem, even though I ran all the rake commands mentioned, still Nothing is fetched from DB |
What output or error message do you get when you run |
@ragesoss ran the rake commands successfully, I am current outreachy applicant new to open source world, can you please help me to pick up a beginner friendly task |
I get this error when I run guard. This is displayed in localhost:3000/
This error occurs when the asset build process has not generated the required rev-manifest.json files, which specify the filenames of the compiled stylesheet and javascript files. Run `gulp` or `gulp build` and make sure there are no build errors. |
I was getting few errors so I created a gulpfile.js |
@Manasa2850 hmm... I'm guessing this is because your gulp environment has not been set up to work with babel. What version of |
@ragesoss where do I create courses and add students? My dashboard just has an option for creating programs and campaigns and not courses. |
@Manasa2850 'program' and 'course' mean the same thing in this app, we just use different names depending on the configuration. (And 'editor' and 'student' are also the same.) |
If you switch to |
I am unable to figure out the problem from the logs. |
|
@shruti862, the error you're encountering may be due to an incomplete MySQL setup. There is a logic to create a mysql account automatically, that might have failed during the setup script. |
log.txt |
Here is your error: |
I cloned the repo from the master branch to my local system |
can you use this command and tell what is the output:
|
Found the reason. Installation is perfect. You have not run |
though this is still unclear why. let me know if it works after the yarn command. |
@prathamVaidya |
@prathamVaidya I am encountering the same issue as @shruti862 here while trying to setup the project on my local. Though I am running OSX. I suspect the issue might be related to mysql setup, as there was a hiccup during the setup while populating the db. I tried running these commands as advised by you to Shruti -
This didn't resolve it. Could you help me figure out what the problem might be? |
Logs didn't show any signs of failure. Can you confirm if you have run If yes, there must be some error message when running the guard command. Check and share that. |
I restarted everything and the issue seems to be resolved now (still don't know what the issue was). I restarted Redis, ran Thanks for the quick reply though! |
Running into 2 errors when I run [*] Installing MariaDB-server... [] Creating User for Mysql... Log File: I am running MacOS and have been stuck on this issue for several hours now. Thank you |
@prathamVaidya I am getting internal server error then done the changes suggested by you above , Then I am getting this |
Looks like you are opening the project from PORT 8080, use PORT 3000. in one terminal use In this project react application is build and then served by ruby on rails server. So you need to start both and then access the application at PORT 3000 and not 8080 (I believe its only for serving static assets and for syncing live changes). |
@prathamVaidya Please have a look |
Looks like some issue from backend. Please provide logs or error screenshots of the guard command. |
No errors in the SS.
|
@prathamVaidya ,Now it's working fine with database migrations bin/rails db:migrate RAILS_ENV=development . Thanks for all your suggestions . |
Hello @prathamVaidya , @ragesoss , please i am trying to setup the project but i have difficulties migrating the database i am runing on a Mac Sonoma version 14.3 and i have Xcode 15.2 i have followed the installation process up to the point of the migrations using rake but all my attempt gives me this error i have gone use this same command bin/rails db:migrate RAILS_ENV=development as above but it still does not work please i would appreciate any help or directions to the right resources to use, thank you |
Hmm... I'm not sure! I haven't seen this particular failure mode before. I suggest going through the manual version of the setup, and report the details of any step that generates an unexpected error. |
For those who faced issues with using the setup scripts, Please comment below with the errors you faced and the logs for your installation. You can find the logs in setup directory.
The text was updated successfully, but these errors were encountered: