Skip to content

mbegel/frontend

 
 

Repository files navigation

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

About

Front-end of Projet Sigma

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 43.3%
  • HTML 22.9%
  • CSS 19.4%
  • JavaScript 8.3%
  • Shell 4.2%
  • Python 1.3%
  • Roff 0.6%