Giter VIP home page Giter VIP logo

apptus's Introduction

Apptus

https://apptus.online

Hosted on Railway, runs on Ruby 3.2.1, Rails 7, Supabase for Postgres database, MailerSend for emails, Mailcatcher for development. Application performance monitoring sponsored by AppSignal.

Development Environment Variables

Name Value/Description
PGUSER Username of your local postgres user
PGPASSWORD Password of respective user
APPTUS_EMAIL_HOST apptus.online

Test Environment Variables

Name Value/Description
PGUSER Username of your local postgres user
PGPASSWORD Password of respective user
APPTUS_EMAIL_HOST apptus.online
RAILS_ENV test

Production Environment Variables

Name Value/Description
RAILS_ENV production
RAILS_MASTER_KEY Secret key
RAILS_SERVE_STATIC_FILES 1
APPTUS_HOST apptus.online
APPTUS_EMAIL_HOST apptus.online
REDIS_URL ${{Redis.REDIS_URL}} (Railway thing)

Contributing

Getting Started

Firstly, fork this repo to your GitHub account.

# Clone to your local machine
# Replace `YOURUSERNAME` with your GitHub username
$ git clone 'https://github.com/YOURUSERNAME/Apptus.git'
$ cd Apptus

# Create new branch for your changes
$ git checkout dev
# Replace `my-new-feature` with something more descriptive
$ git checkout -b my-new-feature

# Install dependencies
$ bundle install

# Set dev environment variables now, before next commands

# Set up database
$ rails db:setup

# Run mailcatcher
$ gem install mailcatcher # If not already installed
$ mailcatcher

# Run the server
$ rails s

Running tests

Make sure all tests run with no errors or warnings before making a PR. Run these tests with the Test Environment Variables listed above.

SimpleCov is used to check code coverage, run $ COVERAGE=1 rails test to generate a report.

$ rails test
$ rails test:system
$ bundle exec bundler-audit --update
$ bundle exec brakeman -q -w2
$ bundle exec rubocop --parallel

Deploying

main is production. All changes should go through dev branch first (via a PR).

apptus's People

Contributors

coding-cactus avatar bramleyas avatar dependabot[bot] 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.