Documentation

The great thing about the Heroku integration for you is that you do not need to do any setup to have it work and be available to share link for everyone.

Additional steps can be taken, however this is just if you so desire. We will provide you with the steps that would help you with the same bellow.

Heroku addon brings the Ziggeo backend as well as Ziggeo frontend scripts to you to use.

The benefit of this is that you can call the backend API using different server side SDKs. The one you would use depends on what you are already using.

One of the important steps to create an addon is to create and maintain well formatted information on Heroku itself. As such you can quickly and easily find all info you might need on following Heroku addon page.

The great thing about this solution is that you click a button and it gets deployed. That is it, nothing else is needed to have it work. If you are not sure where the button is, you can find it here.

Well you are here, so you probably do want to make some changes and that is super easy as well.

There are 2 ways. One is using Heroku console and another is using GitHub in combination with Heroku.

Using GitHub

This second approach allows your devs to use the tools that they are already familiar with.

Heroku maintains the article on this on the following page.

It will allow you to see how you can quickly set up everything as GitHub repo and then push things to your Github repo as usually, and have the changes shown on your Heroku.

If you want to just grab the current code and then change it, you might prefer the second approach

Using Heroku console

You should already have Heroku and Ziggeo account at this point.

  1. Go to a folder where you would keep the code locally.
  2. Clone our repository into the folder
    • in console: git clone http://github.com/Ziggeo/ApplicantTracking
  3. You will need to remove the .git directory that is within this folder.
  4. On Heroku, create an application with MongoDB.
    • You will need to either use the ObjectRocket by Rackspace MongoDB addon or
    • Create an account on Atlas (mLab) and go through all of the steps there.
    • if not already, get the details from Project View
    • Using the details you got from ObjectRocket addon or Atlas, you would create your connection to MongoDB as following:
      heroku config:set DB_URL={URL YOU GOT}
      
  5. Install the Heroku Toolbelt
  • At this point you want to go back to the directory where you cloned the Applicant Tracking repo (step 1 and 2)
  1. initialize the repository
    • This has to be done after you done all steps above
    • in console: git init
  2. Now add the necessary info to Heroku about your code. This is all done in console
     heroku accounts:add yourappname –auto
     heroku accounts:set yourappname
     heroku git:remote -a yourappname –account yourappname
    
  • You would replace yourappname with the name of your application in Heroku.
  1. Run heroku config in console. This will give you DB_NAME and MONGODB_URL.
  2. Log into your Ziggeo dashboard and under Overview, get your application token.
  3. At this time you should modify few scripts in your code, so open your editor.
  4. Open settings.py in your favorite editor in it, you will need to make few simple changes.
    • Change COOKIE_SECRET to something random within this file.
    • Add DB_NAME, MONGODB_URL and ZIGGEO_TOKEN into the same and save.
    • title and administrators can changed in this file as well.
  5. Changing the templates files you will be able to change the look and the questions.
  6. Once everything is ready, your console should be used for the following few commands
    git add .
    git commit -a -m “Initial Commit”
    git push heroku master