No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Andreas Storz 4d4fc1a27d Merge branch 'master' of https://bitbucket.org/lw124/jobify.net 3 years ago
files Anpassen der About-CP-Kontakt. Robots Txt zurücksetzen. 4 years ago
pages Text Änderung auf der About-Seite 3 years ago
src Make shit run on windows 4 years ago
static Init Kooba update 4 years ago
templates SEO Improvement. Unecessary files deleted. 4 years ago
upstream Init Kooba update 4 years ago
.dockerignore init 4 years ago
.gitignore Add draft of referral script 4 years ago
Dockerfile Limit Docker container to stable. Enable gzip compression. 4 years ago
README.md correct readme 4 years ago
bitbucket-pipelines.yml bitbucket-pipelines.yml edited online with Bitbucket 4 years ago
bower.json Update Slick version 4 years ago
favicon.ico Add favicon 4 years ago
nginx.conf Limit Docker container to stable. Enable gzip compression. 4 years ago
requirements.txt init 4 years ago

README.md

Jobify.net HTML Static Pages

Installation

The following Software is Required:

  • SourceTree (or any other Git-Client)
  • Python 2.7
  • Nodejs
  • Node-Packages: (npm install -g bower sass less)

Installation

  • create a python virtual environment. You could use a folder in this directory with the name env
  • activate the virtual environment
  • Install python dependencies with pip install -r requirements.txt
  • Install bower dependencies: bower install

Structure

The pages from the pages directory are beeing compiled into the corresponding template files in templates.

Static files are beeing taken from the following sources:

  • upstream: This folder contains all static files from the Kooba-Repository.
  • static: This folder contains files that were added by us
  • bower_components: This files are dependencies that were downloaded by bower.

Please note, that this only applies to Javascript and CSS/SCSS files that are beeing compressed during compilation.

Images are copied from the following path (directory -> path on the webserver):

  • static/img -> /static/img

In addition, the static/css/fonts directory is

Compile HTMLs

To compile the HTMLs run the following command (with the activated virtualenv):

python src/main.py

Preview HTMLs

The output-folder is dist. You can run pythons build in webserver in this directory as a preview: python2 -m SimpleHTTPServer 8082