Fuzzapi is rails application which uses API_Fuzzer and provide UI solution for gem.
-
Install ruby in your machine either using
rvm
orrbenv
-
Clone the repository into your localmachine
-
cd /path/Fuzzapi/bin
, move to Fuzzapi directory -
bundle install
to install the gem dependencies of the application. (if you are getting some error related to any package search for its dependent packages and install them first. For example if error is related to pgsudo apt-get install libpq-dev
thengem install pg -v '0.18.4'
. Mostly people get errors related to nokogiri so here are the commands to resolvesudo apt-get install build-essential patch
,sudo apt-get install ruby-dev zlib1g-dev liblzma-dev
,gem install nokogiri -v '1.6.8.1'
-
rake db:migrate
to creates tables, migrations etc. -
rails s
to run the server -
Open
http://localhost:3000
in browser which should point to the application url -
If u get redis server error, install and start the service separately. (install:
sudo apt-get -y install redis-server
, check the status:sudo service redis-server status
) -
Close everything and go to Fuzzapi/bin folder.
-
open three tabs of terminal
-
redis-server
in first tab -
bundle exec sidekiq -r urFuzzAPIPath
in second tab -
rails s
in third tab then visit and scan localhost:3000
Fuzzapi comes with Docker
to simplify installation processing. Following commands will setup application using Docker
.
-
Clone the repository into your local machine
-
cd /path/Fuzzapi
, move to Fuzzapi directory -
Install Docker in your local machine
-
Run
docker-compose build
to build the image locally. -
Run
docker-compose up
to run the server. -
Open
http://localhost:3000
in browser which should point to the application url
Fuzzapi uses API_Fuzzer gem.