Skip to content

Commit

Permalink
chore: Added start command to the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
francescovallone committed Jan 25, 2023
1 parent 91ba77f commit 558d599
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Mug

Mug is a simple HTTP Server written in Dart.

## How to start

Just execute the following command to start the server.

```console
dart --enable-vm-service bin/mug.dart
```
3 changes: 0 additions & 3 deletions bin/mug.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import 'dart:async';
import 'dart:convert';

import 'package:mug/mug.dart';

import 'app_module.dart';
Expand Down
2 changes: 0 additions & 2 deletions lib/decorators/module.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import 'package:mug/mug.dart';

class Module{

final List<dynamic>? imports;
Expand Down
2 changes: 0 additions & 2 deletions lib/mug_factory.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import 'package:mug/mug.dart';

import 'package:hotreloader/hotreloader.dart';
import 'package:mug/mug_application.dart';

Expand Down
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ packages:
source: hosted
version: "2.1.1"
hotreloader:
dependency: "direct dev"
dependency: "direct main"
description:
name: hotreloader
url: "https://pub.dartlang.org"
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ environment:
dev_dependencies:
lints: ^2.0.0
test: ^1.16.0
hotreloader: ^3.0.5
dependencies:
hotreloader: ^3.0.5
logging: ^1.1.0
1 change: 0 additions & 1 deletion test/mug_test.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'package:mug/mug.dart';
import 'package:test/test.dart';

void main() {
Expand Down

0 comments on commit 558d599

Please sign in to comment.