Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

Easier onboarding/install #469

Open
vsergeyev opened this issue Sep 30, 2019 · 4 comments
Open

Easier onboarding/install #469

vsergeyev opened this issue Sep 30, 2019 · 4 comments

Comments

@vsergeyev
Copy link

Good day, wish you a safe and pleasant day over there.
Just wonder if it is possible to have more "default" values in settings, so it will be easier to install and start with application.

https://github.com/open-craft/opencraft#install is solid and helpful. Thank you for documentation. Just noticed it is no chance to have test/dev/local settings in https://github.com/open-craft/opencraft/blob/master/opencraft/settings.py

Feel free to close this if it is not relevant.

@xitij2000
Copy link
Member

Hi @vsergeyev!
Ocim definitely does need a lot of configuration and setup to run even in a development environment. I think most settings that can have a default value already do. The ones that do not are those that require external services, it is hard to have defaults there.

There are some things that you will definitely need to get Ocim running:

  • An account with a Openstack hosting provider like OVH (This will be used to spin up new instances to install Open edX onto)
  • An AWS account for using Amazon S3 (This will be used to configure storage for the Open edX instances)
  • A Mongo server (This server will be shared across all Open edX instances)
  • A MySQL server (This server will be shared across all Open edX instances)
  • An account and domain on Gandi.net for DNS setup (This will be used to set up the required domains)
  • A GitHub account (Ideally a separate account for Ocim, used for GitHub integration)

A load balancer is also required, but Ocim will work (with a few errors) without it.

Note that most of these requirements are for Open edX itself, and since Ocim is managing setting it up, it needs access to those services as well. The ansible playbooks we use to set up the load balancer, MySQL, Mongo and Ocim itself are also open source, you can see them here: https://github.com/open-craft/ansible-playbooks

For dev/test/local settings, you can use different .env files. A sample/test file is included in the repo: https://github.com/open-craft/opencraft/blob/master/.env.test

@vsergeyev
Copy link
Author

Hi @xitij2000!

Thank you for pointing me to right places. I appreciate it really.

Have uses ansible playbooks wit hsuccess and have local dev env.
3rd party services settings looks reasonable and make sense.

Wish you have an easy and sunny day over there.

@xitij2000
Copy link
Member

Have uses ansible playbooks wit hsuccess and have local dev env.

That's great to hear! We would love to hear about your experience setting up, and using Ocim and any other pain points you encounter.

Note that we've recently made the Ocim documentation available [here|https://ocim.opencraft.com/en/latest/] as well. It doesn't contain any new information, but it's hopefully in a format that's hopefully easier to consume.

@antoviaque
Copy link
Member

@vsergeyev Thank you for your interest in Ocim! Did you end up being able to install Ocim? We can help you further if you got stuck, it's useful for us to know where the pain points are.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants