Git Product home page Git Product logo

ca3frontend's Introduction

InSession client startcode

Team

Peter R Andersen

Jens Gelbek

Rasmus Ditlev Hansen

Tobias Zimmermann

Getting started

  1. Clone the project with git clone https://github.com/tobias-z/ca3-client-startcode.
  2. Run these 2 commands:
  • rm -rf .git
  • git init
  1. Setup your own repository and follow their instructions.
  2. Run command npm install to initialise the project.
  3. Change the URL's in the settings.js to your personal endpoints.

You are good to go!

Usage:

The authentication part of things is setup to compleatly split the Authenticated App and the Unauthenticated App This means that you have full control over which routes you'd like to show the users ๐Ÿ’ช

Deployment

We have two ways to deploy our application:

Deploy with Surge

If you do not have surge install run run install -g surge

  1. npm run build
  2. surge --project ./build --domain A_DOMAIN_NAME.surge.sh

Deploy on Nginx

The name xxx will be used as what you should put as your own name. This setup requires some knowledge of Nginx

  1. ssh into your droplet
  2. cd /etc/nginx/sites-enabled
  3. nano default
  • In this file, change the root file to point to the file you are going to create afterwards root /var/www/xxx/;
  1. cd /var/www
  2. mkdir xxx
  3. chmod -R 777 xxx
  4. Go back to your own project and run npm run build
  5. Run scp -r ./build/* root@YOURDROPLETURL:/var/www/xxx

ca3frontend's People

Contributors

jensgelbek avatar

Watchers

 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.