Git Product home page Git Product logo

website-1's Introduction

Build Status

##Guide to Setup for testing the website locally

  • install docker: Installation instructions for debian/linux, macOS and windows can be found on the docker website. For Arch Linux, use pacman -S docker.
  • start docker (usually systemctl start docker.service will suffice)

use the Makefile

  • make sure there are no running services on the port 8080, otherwise change the port in the Makefile
  • run make (with docker privileges, e.g. as root)
  • browse to 127.0.0.1:8080 or issue make open beforehand
  • when you are done, Ctrl-C out and rerun make to update the test instance with your new changes

After testing your changes, make clean provides a convenient way to clean up after you, stopping and removing all the containers you have created in the process of testing. If you want to get rid of remainders of the process: make clean removes all containers, make purge removes all containers including all images (be aware that they need to be redownloaded and such next time you test the website, so you probably usually do not want to issue a make purge unless you are in severe need of disk space).

run test environment manually

  • start postgresql: docker run -d --name=nnev-postgres postgres
  • build website: docker build -t nnev-website .
  • run website: docker run --name=nnev-website -p 127.0.0.1:8080:80 --link nnev-postgres:postgres -v $PWD:/usr/src/ nnev-website
  • browse to 127.0.0.1:8080 to inspect your state of the webpage
  • restart: Ctrl-C out and run docker kill nnev-website; docker rm nnev-website, then goto run website

website-1's People

Contributors

merovius avatar breunigs avatar joker234 avatar koebi avatar cherti avatar stapelberg avatar raphaelm avatar chrko avatar janx2 avatar nhgmaniac avatar ju6ge avatar sur5r avatar tynsh avatar al3xst avatar hemant360 avatar stryx 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.