Giter Site home page Giter Site logo

better-together-org / better-together-website Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 3 MB

Better Together is a cooperative community engagement platform built and maintained by its members.

Home Page: https://bebettertogether.ca/

License: GNU Lesser General Public License v3.0

JavaScript 17.00% Shell 0.42% HTML 2.50% Vue 79.97% SCSS 0.11%

better-together-website's Introduction

Better Together Website

This repository contains the source code for the Better Together Website, a Vue.js 2 application powering bebettertogether.ca.

Table of Contents

About

The Better Together Website is the official site for the Better Together Community Cooperative and Community Engine projects. It serves as a central hub for information, updates, and resources related to the Better Together initiative, which aims to foster collaboration, communication, and connection within and across communities.

Features

  • Informative sections about the Better Together Community Engine
  • Responsive design optimized for both desktop and mobile devices
  • Integration with the Better Together Community Engine Rails gem
  • Live chat and discussion forums
  • Role-based access control
  • Multi-language support with Rails' I18n tooling
  • Dynamic user experiences with Turbo and Stimulus

Installation

To get started with the development of the Better Together Website, follow these steps:

Installation

To get started with the development of the Better Together Website, follow these steps:

  1. Clone the repository:

    git clone https://github.com/better-together-org/better-together-website.git
    cd better-together-website
  2. Install dependencies:

    npm install
  3. Start the development server:

    npm run serve

    The application will be available at http://localhost:8080.

Usage

Running the Application

To run the application locally, use the following command:

npm run serve

Building for Production

To build the application for production, use the following command:

npm run build

This will generate the static files in the dist directory, which can be served by a web server.

Development

Code Structure

The codebase is organized as follows:

  • src/: Contains the source code for the application.
  • components/: Reusable Vue components.
  • views/: Vue components representing different pages.
  • assets/: Static assets such as images and styles.
  • router/: Vue Router configuration.
  • store/: Vuex store configuration.

Scripts

  • npm run serve: Starts the development server.
  • npm run build: Builds the application for production.
  • npm run lint: Lints and fixes files.

Environment Variables

Create a .env file in the root directory to configure environment variables. For example:

VUE_APP_API_URL=https://api.bebettertogether.ca

Contributing

We welcome contributions to the Better Together Website! If you would like to contribute, please follow these steps:

  1. Fork the repository:

    Click the "Fork" button at the top right corner of this page to create a copy of the repository in your GitHub account.

  2. Clone your fork:

    git clone https://github.com/your-username/better-together-website.git
    cd better-together-website
  3. Create a new branch:

    git checkout -b feature-branch-name
  4. Make your changes:

    Add your changes and commit them with a descriptive message.

  5. Push your changes to your fork:

    git push origin feature-branch-name
  6. Create a pull request:

    Go to the original repository and click the "New Pull Request" button. Provide a clear description of your changes and why they should be merged.

better-together-website's People

Stargazers

 avatar

Watchers

 avatar

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.