Home of slacklinegroups.com - A community project on Rails 6 + React + ElasticSearch.
Table of contents:
Semaphore (CI/CD) Project Link
-
Clone the repository
$ git clone git@github.com:Syntaf/SlacklineGroups
-
Create a new docker volume for persistant database storage
$ cd SlacklineGroups $ docker volume create slacklinegroups-postgres $ docker volume create slacklinegroups-redis
-
Copy the example env file to create a default
.env
$ cp .env.example .env
-
Build docker images
$ docker-compose build
-
Install javascript dependencies
$ docker-compose run slacklinegroups yarn install --check-files
-
Create and migrate the database
$ docker-compose run slacklinegroups rails db:create $ docker-compose run slacklinegroups rails db:migrate
-
Spin up the server and start contributing
$ docker-compose up
Note: If you encounter a "permission denied" error while attempting to bring the webpacker container up, run
chmox +x slacklinegroups/bin/webpack-dev-server
and try again.
Once running you can visit the app at https://localhost:3000 and starting developing!
If you're interested in helping out with the project, visit the issues tab for some ideas on where to contribute first. When you're ready to start developing, create a fork and a branch on your fork which describes the work you'll be doing.
It's highly recommended that you have Rubocop linting your code as you develop, as this project is based on those guidelines. The following rules are disabled on this projects linting spec:
Style/HashSyntax
(Recommended but not required)Style/Documentation
Metrics/ClassLength
Metrics/AbcSize
Metrics/MethodLength
If you're using Visual Studio Code, you can get Rubocop by installing the Ruby Solargraph extension and enabling linting.