Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

ontola/argu-backend

Repository files navigation

Apex

The main backend of the open source app Argu.

Installation & running locally

Clone this repo as part of the parent repo, see Argu for more information about the setup.

Use this setup if you don't want to run Apex in a Docker container:

  • Install the Ruby version defined in the Gemfile (preferably using a version manager like RVM, rbenv or asdf)
  • Install bundler
    • gem install bundler
  • If you're on a mac:
    • brew install vips
      brew install postgresql
      
  • If you're on linux:
    • sudo apt-get -qq install -y build-essential libgsf-1-dev libpq-dev libxml2 postgresql-contrib zlib1g-dev
      # Vips and dependencies
      sudo apt-get -qq install -f -y libvips-dev libvips-tools
      
  • Install gems
    • bundle install
  • Stop the Apex Docker container if it's running
  • Start the server locally in either development mode
    • RAILS_ENV=development bundle exec rails s -b 0.0.0.0 -p 3000
  • or in staging mode if you want more performance and less debugging
    • RAILS_ENV=staging bundle exec rails s -b 0.0.0.0 -p 3000

Contributing

Want to contribute to this project?

See CONTRIBUTING.md.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages