GithubHelp home page GithubHelp logo

mbegel / frontend Goto Github PK

View Code? Open in Web Editor NEW

This project forked from projetsigma/frontend

0.0 2.0 0.0 40.18 MB

Front-end of Projet Sigma

License: GNU Affero General Public License v3.0

Shell 4.24% Python 1.26% Groff 0.59% TypeScript 43.28% JavaScript 8.31% HTML 22.94% CSS 19.38%

frontend's Introduction

Sigma - Frontend

Circle CI

Licence

license

Installation

You'll need to install Node (version at leat 4.4.4) from the Node.js website. Once installed, check the version with nodejs --version. Then run the following commands inside the frontend/ directory:

cp src/config.ts.dist src/config.ts
sudo npm install -g ts-node
npm install

If there is a failure at npm install, your Node.js version is too old or you have two versions of Node.js installed.

##Fire up the server

To run the livereload server:

npm start

Because it is cumbersome to launch both the frontend and backend server by hand, there is a tool called tmuxinator that can simplify your life. It requires to have tmux installed.

We assume that your frontend is in ~/sigma/frontend, your backend is in ~/sigma/backend and you have configured a python3 virtualenv called .env as described in the backend README.md. Then run tmuxinator new sigma. Go to the created file ~/.tmuxinator/sigma.yml and fill it with this content:

name: sigma
root: ~/
windows:
  - editor:
      layout: main-horizontal
      panes:
        - cd ~/sigma/frontend
        - cd ~/sigma/backend && source .env/bin/activate && python manage.py runserver
        - cd ~/sigma/frontend && npm start

After this, you'll just have to enter one command to get ready to develop:

tmuxinator sigma

Logging in

To navigate on the site, fire up the backend server (see the readme) and connect to the site using accounts from this list :

Wiki

The wiki for the application is here : https://github.com/ProjetSigma/frontend/wiki

Acknowledgments

Project structure based on Angular2 seed sass

frontend's People

Contributors

alexmatton avatar denismerigoux avatar fazega avatar gpichot avatar hcognet avatar mbegel avatar ntag avatar tizot avatar

Watchers

 avatar  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.