Skip to content

CNSP-OS/cnsp-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Official CNSP Website

The previous closed source website has been replaced with an open source version and the code for the same is present above. Because the website development and migration was handled by one person only, you might find quite a lot of errors. It is expected they will be resolved very soon.

Table of Contents

  1. Issues, bugs, and requests
  2. Prerequisites
  3. Before you build
  4. Developing
  5. Redactions

Issues, bugs, and requests

We welcome contributions and feedback on our website! Please file a request in our issue tracker and we'll take a look.

For simple changes (such as to CSS and text), you probably don't need to build this site. Often you can make changes using the GitHub UI.

If you want/need to build, read on.

Prerequisites

Install the following tools if you don't have them already.

Before you build

Clone this repo

To clone this repo, follow the instructions given in the GitHub help on Cloning a repository, and choose one of the following submodule-cloning techniques:

Run installation scripts

Open a bash terminal/command window and execute the following commands:

  1. cd _<path-to-this-repo>_ # change to root of this repo
  2. npm i express mongoose ejs # initialize environment variables; install/use required Node & Ruby version

Delete lines

Delete lines 5 to 41 in server.js

Running the server

Run npm start

Developing

In order to contribute to the project, you must have the knowledge of EJS, HTML, CSS, and JS. Follow these steps:

  1. Create a branch.
  2. Make your changes.
  3. Do the work, write good commit messages.
  4. Push to your origin repository.
  5. Create a new PR in GitHub.
  6. Respond to any code review feedback.

Redactions

Certain parts of the server side code and the website have been redacted for security purposes.