GithubHelp home page GithubHelp logo

museum-wiki-frontend's Introduction

Museum Wiki Frontend

This project was written by Peter Li. It is the frontend of the Museum Wiki project for CS205 Spring 2020.

Setup

First, clone this project using

$ git clone https://github.com/syccxcc/museum-wiki-frontend

Node.js is required for this project. Please install the latest stable version of node.js and then run npm install in the project root directory to install all dependencies. Because they amount to over 700MB, this process may take a while.

After the installation of all dependencies are complete. The program will be able to run.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. Because the frontend relies on a server for data, there should be some error messages about the internet connection. To see the full picture of the project, please run the backend instead.

Build

Run ng build prod=true to build the project in production mode. The build artifacts will be stored in ../frontend, which is in the folder Lafayette53 in the parent project.

Electron

Run npm run electron to run the frontend with electron. Note that this will execute the last frontend build stored in electron/dist, so it does not reflect the current progress of the project.

To see how the current project looks like in electron, run npm run electron-build to build the project into electron/dist and then run the program with electron.

To distribute the frontend app using electron, navigate to museum-wiki-frontend/electron and run npm install. Then, run electron-packager .. This will package the build in electron/dist into an electron app that run on the operating system of the host computer. For more information, please read about the documentation of electron-packager.

Documentation

To generate the documentation for this project, simply run npm run compodoc, and a new folder called documentation will appear. Open documentation/index.html to see the documentation.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

museum-wiki-frontend's People

Contributors

lihaohong6 avatar syccxcc avatar dependabot[bot] 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.