Chat about yellr-server on Gitter! Chat Now
This is the server and admin component of the Yellr application
Setting up the moderator dev environment.
Once the you have all of those, simply run
make to compile all of the
frontend dependencies and if you’re going to do development, run
git clone https://github.com/hhroc/yellr-server cd yellr-server make clean make make dev
Getting server configured
Prior to getting your server started make sure you setup your own virtual environment and then run these commands.
cd yellr-serv/ $VENV/bin/python setup.py develop $VENV/bin/initialize_yellr-serv_db development.ini sqlite3 yellr-serv.sqlite < ./zipcodes/insert_zips_sqlite.sql
Note: there is a seperate zipcode sql file for production (postgresql server) called insert_zips.sql.
You will also need to install the ImageMagick tools.
sudo apt-get install imagemagick
sudo yum install imagemagick
go here for instructions: http://www.imagemagick.org/script/binary-releases.php#windows
Once imagemagick is installed, and you have configured you environment, you can run the development server:
Running the server
Once you have done everything above, you can run the server with the following
cd yellr-server cd yellr-serv pserve developmentini
And that's it!