From Students to Students
Welcome to the Multiverse codebase. We are so excited to have you. With your help, we can build out Multiverse to be more stable and better for our community.
Multiverse is a platform where Microvese students and software developers write articles, take part in discussions, and build their student profiles. We value supportive and constructive dialogue in the pursuit of great code and career growth for all members. The ecosystem spans from beginner to advanced developers, and all are welcome to find their place within our community. ❤️
We encourage you to contribute to this repo! Please check out the Contributing to multiverse guide for guidelines about how to proceed.
This section provides a high-level quick start guide. If you're looking for the installation guide, you'll want to refer to our complete Developer Documentation.
We run on a Rails backend, and we are running a React frontend.
A more complete overview of our stack is available in our docs.
- Ruby: we recommend using rbenv to install the Ruby version listed on the badge.
- Yarn: please refer to their installation guide.
- PostgreSQL 9.4 or higher.
- Redis
- Fork our repo from https://github.com/multiverse-students/Multiverse.
- In the console, download a copy of your forked repo with
git clone https://github.com/your_username/Multiverse.git
whereyour_username
is your GitHub username. - Enter the new multiverse directory with
cd multiverse
. - Steps to install gems:
- You may need to first run
bundle install
if you have older gems in your environment from previous Rails work. If you get an error message likeYour Ruby version is 2.x.x, but your Gemfile specified 2.4.4
then you need to install the ruby version 2.6.0 usingrvm
orrbenv
.- Using rvm:
rvm install 2.6.0
followed byrvm use 2.6.0
- Using rbenv:
rbenv install 2.6.0
followed byrbenv local 2.6.0
- Using rvm:
- Install gems with
bundle install --without production
from the rails root folder, to install the gems you'll need, excluding those needed only in production.
- You may need to first run
- Run
rails db:create
followed byrails db:migrate
to set up the database - Install static assets (like external javascript libraries, fonts) with
yarn install
Please read and abide by our Code of Conduct; our community aspires to be a respectful place both during online and in-person interactions.
Happy Coding ❤️