Show off your fellow entrepreneurs to the world.
JavaScript Ruby CSS HTML CoffeeScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
bin
config
db
lib
public/assets
test
vendor/assets
.dockerignore
.gitignore
Dockerfile
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
config.ru

README.md

Codacy Badge #What is Persianpreneur?

It's a list of awesome Persian entrepreneurs doing great work around the world. It's inspired by Beggars.co idea. We didn't know PHP so we rewrote the whole thing in Ruby on Rails.

Development evnironment

gem install foreman
bundle install
echo "RACK_ENV=development" >> .env
echo "PORT=3000" >> .env
rake db:create db:migrate

foreman start

Tasks

You can import a list of people by rake db:person:import You can also wipe off the database of 'persons' by rake db:person:clear

Deploy on AbarCloud

Follow the quick start guide to deploy it. You can also add a custom domain with SSL.

Deploy on Heroku

You need to remove therubyracer and execjs gems. Heroku doesn't need a js runtime.

Deploy elsewhere

Alternatively, you can use nodejs instead of execjs. It's was just more convenient to add a gem rather than asking all to install nodejs. Follow this guide!