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
Docs: Install and usage #13
Comments
Good point! I'll work on an installation guide. But in the meantime here are the steps (as far as I remember) to get it running if you already have Ruby and PostgreSQL installed: install the gems:
make sure PostgreSQL is running (I open the application, I assume there is also a command line way)
set up and seed the database
set up webpack to continuously bundle files
open a new tab and start the server with:
it should now be running on localhost:3000 Let me know if this works for you, it's a hard to simulate setting it for the first time to be sure. |
Do you have a way of specifying the PostgreSQL location on run, maybe through an environment variable? I don't run it on localhost, rather in a docker container (ends up being |
Also, thanks a million! With those docs alone I'll be able to get a lot further than where I got before 🚀 |
Here's what I tried: sudo gem install bundler
bundle install # see bundle error feeback below
npm install After those commands, I edited rake db:setup but it returned another error. See rake db:setup error feedback below. Bundle Error FeedbackOn
At the end of that install, it printed:
Upon running that command, the same error as above was printed.
|
So found this: Which directed me to run |
So with some tweaking, I got most of the errors to shutup. One error is eluding me, though, when running
Doing research. Will update this thread when I find more. |
Ah, looks like it's an error on |
Commenting out EDIT: So I commented in everything except the |
Sooooo close. On
EDIT: The only local file it points to seems to be Gem.paths = { 'GEM_PATH' => [Bundler.bundle_path.to_s, *Gem.path].uniq } research: |
As per rails/spring#456, I changed gem 'spring', github: 'sonalkr132/spring', branch: 'bundler-dep' And the server seems to start. 🚀 |
Definitely. It's like I'm half way to set up documentation already :) Yay!! I'm so glad you have it set up. No overt your eyes and don't look at any of the horrible code I wrote with no one to keep me in check or make me explain myself. Jajaja |
lolol. no worries. I'll try and clean up as I go, but I'm planning on, at the very least, hopping in and getting those mobile views tightened up. |
So I forked the repo and wanted to take a look at some of the frontend styling, but couldn't find any docs for install / usage. I'm largely unfamiliar with ruby (I do have it installed though,
ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin15]
), but I do want to get it started locally to work on it. Any tips?The text was updated successfully, but these errors were encountered: