GithubHelp home page GithubHelp logo

web's Introduction

Scrutinizer Code Quality

Installation and setup

Dependencies

Pyjobs_web require some OS dependencies (to build project python libs), for a debian-like you can install them with apt-get:

apt-get install python python-dev python-pip git libpq-dev libxml2-dev libxslt1-dev libffi-dev python-pip virtualenv

Pyjobs Web

Note: For production environment, create production.ini configuration file from copying development.ini and replace development.ini by production.ini in following instructions.

Clone the project:

git clone https://github.com/pyjobs/web.git

Move to web/pyjobs_web directory:

cd pyjobs_web/pyjobs_web

Install python dependencies:

pip install -r requirements.txt

Install pyjobsweb using the setup.py script:

python setup.py develop

Update config according to your database in pyjobs_web/pyjobs_web/development.ini. Import lines to update are:

  • debug: Think to switch at False if you are in production environment.
  • session.secret
  • session.validate_key
  • sqlalchemy.url: Update it according to your database (MySQL, PostgreSQL, SQLite, etc.).

Create the project database for any model classes defined::

$ gearbox setup-app -c development.ini

Run PyJobs Web

Start the paste http server::

$ gearbox serve -c development.ini

While developing you may want the server to reload after changes in package files (or its dependencies) are saved. This can be achieved easily by adding the --reload option::

$ gearbox serve -c development.ini --reload --debug

Then you are ready to go.

## Update job database with crawls

Run gearbox crawl command. It will be run PyJobs Crawlers and feed PyJobs Web database.

web's People

Contributors

buxx avatar pyjobs avatar

Watchers

James Cloos avatar 魏东方 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.