Skip to content

allegroplanet/allegro-planet

Folders and files

NameName
Last commit message
Last commit date
Oct 24, 2019
Jan 7, 2017
Oct 22, 2019
Oct 20, 2019
Jan 7, 2017
Jan 7, 2017
Feb 26, 2017
Jan 12, 2017
Oct 24, 2019
Jan 7, 2017
Jan 7, 2017
Feb 24, 2017
Oct 19, 2019
Feb 28, 2020
Oct 21, 2019
Jan 7, 2017
Feb 25, 2017
Jan 7, 2017

Repository files navigation

AllegroPlanet

Setup guide for developers

MacOS

Current installtation instructions are easiest with Homebrew. You'll need to install ruby,

brew install ruby-install
ruby-install ruby 2.6.5
brew install chruby

This next step is important, you'll need to close and restart your terminal because the newly available ruby version will not be seen by your terminal unless you do a restart. It's very annoying.

Once you have those dependencies in place, you can clone the repo and install the app:

git clone https://github.com/allegroplanet/allegro-planet.git
cd allegro-planet
chruby 2.6.5
ruby -v
bundle install

Hopefully everything should pass with no error. If you're having issues, you can ask in the forums of www.allegro.cc.

Once the app installed, you can start the server:

bin/rails server

And you should now be able to access your local version of the site at http://localhost:3000.

Debian-Like Systems

Here is a list of prerequisites for developers on Debian-like systems:

sudo apt install
sqlite3
ruby
ruby-dev
nodejs
postgresql
libpq-dev

gem install rails

now go to your allegro-planet working copy, and run

bundle install bin/rails server

You will also need to ensure postgresql is running on your machine so the app can connect to it.

brew services start postgresql

The first time you are running in development, be sure to setup the database.

bin/rails db:setup