Coder Social home page Coder Social logo

amazingturtle / website Goto Github PK

View Code? Open in Web Editor NEW

This project forked from savetheinternetinfo/website

0.0 2.0 0.0 110 KB

Front- and Backend for the savetheinternet website

Home Page: https://savetheinternet.info

TypeScript 4.64% CSS 0.33% HTML 1.23% JavaScript 93.80%

website's Introduction

SaveTheInternet


Save the Internet with us


๐Ÿ“Œ About

On 20 June, the European Parliament will vote on the Copyright Directive.
Members of the parliament are the only ones that can stand in the way of bad copyright legislation.

Note: This is a NodeJS revamp of the old website


๐Ÿ’ป Website

Deployment:

https://savetheinternet.info

Staging (dev branch):

http://best-universe.de


๐Ÿ”ง Used technologies / Libraries / Frameworks

Frontend:

Backend:


๐Ÿ“ˆ Local testing

This site is written in NodeJS and was built on top of the ExpressJS Framework.
Current deployment platform specifications:

  • NodeJS Version: v8.11.1
  • Operating System: Ubuntu 16.04.4 LTS
  • Architecture: x86_64

NodeJS Dependencies:

package name used version
ExpressJS 4.16.3
EJS 2.6.1
serve-favicon 2.5.0
i18n 0.8.3
cookie-parser 1.4.3

Installation & Quick setup:

  1. Open up your favourite terminal (and navigate somewhere you want to download the repository to)

  2. Make sure you have nodejs installed. Test by entering
    $ node -v
    If this returns a version number, NodeJS is installed. If not, get NodeJS here.

  3. Clone the repository and navigate to it.
    $ git clone https://github.com/savetheinternetinfo/website.git && cd website

  4. Run the post setup script to install typescript:
    $ npm run postsetup

  5. Install all dependencies by typing
    $ npm install

Or use Docker:

  1. Install Docker and docker-compose
  2. Clone the repository and navigate to it.
    $ git clone https://github.com/savetheinternetinfo/website.git && cd website

  3. Then run docker-compose run --rm npm i && npm run build this builds the container and the sources
  4. After that run docker-compose up this starts the docker container with the comiled sources

Developing & Building:

Build and run a local instance:
$ npm run dev

Build only:
$ npm run build

Start only:
$ npm start

Run file watcher for automatic builds:
$ npm run watch

Info:

Per default, the server runs on port 3000 (http://localhost:3000).
This can be customized in the config.ts file.


Roadmap

  • //TODO

website's People

Contributors

nulldev avatar schrej avatar fionera avatar unlogicalcode avatar

Watchers

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