This project is for the designing and tuning of the CMS Open Data page.
proxy/
├── node_modules/ # Installed dependencies (auto-generated by npm install)
├── public/ # Folder for frontend files
│ ├── index.html # HTML file with the search bar
│ └── scripts # JavaScript files for handling frontend logic
│ └── styles # CSS files for webpage styles
│ └── images # images used in the webpage
├── server.js # Node.js server file (proxy setup)
├── package.json # npm configuration file
└── package-lock.json # npm lock file (auto-generated)To run this webpage, on LXPLUS, do:
voms-proxy-init -voms cms
node server.jsSuppose you're now on lxplus909. On your local machine, run:
ssh -L 8080:localhost:8080 yuxiao@lxplus909.cern.chYou can ensure the port is open by:
netstat -tuln | grep 8080If everything is correct, open http://localhost:8080 on your local browser, then the page should be presented!
Pull requests are welcomed! Please contact me by yuxiao.wang@cern.ch or my mattermost yuxiao.wang or my skype live:wangyuxiao0214