GithubHelp home page GithubHelp logo

sanlifaez / website Goto Github PK

View Code? Open in Web Editor NEW

This project forked from klimaat-helpdesk/website

0.0 1.0 0.0 3.43 MB

Code behind https://www.klimaathelpdesk.org/

License: MIT License

Dockerfile 1.37% Shell 3.48% Python 47.11% SCSS 21.39% JavaScript 4.19% HTML 22.46%

website's Introduction

Climate helpdesk

This repository holds the code for https://www.klimaathelpdesk.org, a website aimed at answering questions regarding climate change, global warming, and related. This project was built using Django & Wagtail.

This is the 2020 redesign variant by Fabrique. There are some changes.

Project setup

This project uses docker and docker-compose.

To build the containers with the right dependencies and also install the pip requirements, use:

$ docker-compose -f local.yml build

Once this has been done, you can start the containers/services using the following command.

$ docker-compose -f local.yml up -d

If you remove the -d, you will see the logs on screen, but the containers will run only while your terminal is open. In this version, the Django process is not run automatically, instead you have to start the server yourself.

The following command will start the django server at port 8000 in the container and mirror it to your host machine.

$ docker-compose -f local.yml run --publish 127.0.0.1:8000:8000 django python manage.py runserver 0.0.0.0:8000

You can run the other manage commands with:

$ docker-compose -f local.yml run django python manage.py command_name

For the frontend, we use webpack. To now run webpack you can use the following command in the src dir:

$ yarn webpack

website's People

Contributors

vluuks avatar mvendrik avatar aquilesc avatar markokruijer avatar joselinehouwman avatar sanlifaez avatar dependabot[bot] avatar

Watchers

James Cloos 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.