Giter Site home page Giter Site logo

egiurleo / wnb-rb-site Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wnbrb/wnb-rb-site

0.0 1.0 0.0 1.88 MB

The website of WNB.rb, a virtual community for women and non-binary Rubyists.

JavaScript 73.94% Ruby 18.53% CSS 2.16% HTML 4.07% SCSS 1.26% Makefile 0.03% Procfile 0.01%

wnb-rb-site's Introduction

WNB.rb logo

WNB.rb

Follow us on TwitterJoin Our Community

WNB.rb is a virtual community for women and non-binary Rubyists. This is the repo for WNB.rb's website, built by and for our community.

Code of Conduct ❤️

All contributors to this repository must follow the WNB.rb code of conduct. Those who violate the code of conduct will be reported to GitHub support and banned from all WNB.rb platforms, including GitHub and Slack.

Getting Started 🏁

Before you try to set up this app, make sure you have the following installed on your machine:

  • Ruby (3.0.3)
  • Node (16.3.0) + Yarn
  • Postgres (13.3)
  • Foreman for managing multiple servers

You must also fork and clone this repository.

For help getting set up, refer to the Contributor Resources section of this document.

2. Set up the repo

To install dependencies and setup the database, run:

make setup

3. Set environment variables

Running the job board locally requires two environment variables. To set up your environment variables, run the following command:

cp .env.template .env

Then, edit .env and set the following environment variables:

  • JOB_BOARD_PASSWORD: this determines the password for the job board
  • JWT_HMAC_SECRET: this sets the secret key used to encode the token for job board authentication

4. Run the tests

  • To run the backend tests: rspec
  • To run the frontend tests: yarn jest app/javascript

5. Start the server

To start both the frontend and backend servers at the same time, run:

foreman start -f Procfile.dev

In your browser, navigate to localhost:5000 to see the app in action!

Alternatively, you may run the frontend and backend servers separately with these two commands:

rails s
bin/webpack-dev-server

This may be helpful for debugging, but generally should not be necessary.

Running rake tasks

To execute rake tasks, run:

foreman run rake [NAMESPACE]:[TASK_NAME]

Contributing 🤝

1. Assign yourself an issue from our Issues tab

2. Write your code and create a pull request

  • Note that your pull request may require one or more tests. Tests are required for almost all backend changes, and all frontend logic-related changes. Style or copy changes do not require you to write a test.
  • For a style or copy change, please provide side-by-side screenshots showing how the app looks before and after your changes.

Contributor Resources 📚

Need some help contributing to our app? Check out the resources below for more information about installing and using various third-party tools.

PostgreSQL

Ruby

Node

GitHub

Reporting Issues 🐞

To report a bug or request a new feature, please open an issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.