ward-server
v1.1.2
Published
A basic server for Ward
Downloads
4
Readme
Table of Contents
About
A basic server using connect and server-static to serve Ward projects.
Getting Started
Prerequisites
Installation
Method 1 (package manager):
- Install ward-server
# npm
npm install ward-server
# Yarn
yarn add ward-server
Method 2 (git clone):
- Clone this repository
git clone https://github.com/ward-framework/ward-server.git
- Install dependencies
# npm
npm install
# Yarn
yarn add
Usage
Get your server running in 3 steps
// Include the package
const Server = require('ward-server');
// Create a Server instance
const server = new Server({
path : "/src", // Path to your ward project directory
});
// Serve files
server.serve();
Contributing
This project is developed by a somewhat beginner javascript developer, help is always welcome. Do not hesitate to contribute to the project.
- Fork the Project
- Create your Feature or Fix Branch (
git checkout -b feature/Feature
orgit checkout -b fix/Fix
) - Commit your Changes (
git commit -m 'Add some feature or fix'
) - Push to the Branch (
git push origin feature/Feature
orgit push origin fix/Fix
) - Open a Pull Request
License
ward-server is distributed under the MIT License. See LICENSE
for more information.
Contact
Colin Espinas - Website - [email protected]
Project link: https://github.com/ColinEspinas/ward-server