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

Add instructions for setting up a dev environment to README #61

Closed
joeroe opened this issue Oct 1, 2021 · 4 comments
Closed

Add instructions for setting up a dev environment to README #61

joeroe opened this issue Oct 1, 2021 · 4 comments

Comments

@joeroe
Copy link
Contributor

joeroe commented Oct 1, 2021

i.e. a dockerless server setup. Something like:

  1. Install external dependencies: ruby, bundler, yarn, postgresql
  2. Set up postgresql: create a xronos user with CREATEDB privileges
  3. Fill in env_variables.env and move it to ./.env
  4. Run bundle && yarn to install dependencies
  5. Run bin/rails db:setup to set up and seed the database
  6. Start a dev server with bin/dev*

* If there's an error about missing foreman, restart your terminal.

@joeroe
Copy link
Contributor Author

joeroe commented Mar 4, 2022

Having now done this for the third or fourth time, I think I've figured out a smooth set of instructions (above). @MartinHinz could you check whether there's anything stupid/unnecessary? Then I will add to the README so I don't have to puzzle it out again next time!

@MartinHinz
Copy link
Collaborator

At first glance, this looks correct and complete to me. If this is how it worked for you for the third time, it should also be correct ;-) I would have said, not such a high priority, but if it is going to be helpful for yourself, then go ahead!

@joeroe
Copy link
Contributor Author

joeroe commented Apr 20, 2022

Would need to be revised if/when we move from webpacker #83.

@joeroe
Copy link
Contributor Author

joeroe commented Dec 9, 2023

Updated the instructions, which work quite smoothly for me.

@joeroe joeroe closed this as completed in b2262dc Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants