Skip to content

Commit

Permalink
remoe unused properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Wylde committed Aug 11, 2020
1 parent ff8d8b0 commit 17fbfbd
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 18 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ build/
canisters/
crc8.pyc
node_modules/
dist/
nohup.out
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Build Status](https://travis-ci.org/dfinity-lab/linkedup.svg?branch=master)](https://travis-ci.org/dfinity-lab/linkedup?branch=master)

[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/dfinity-lab/linkedup)
[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/dfinity-lab/linkedup)

The LinkedUp sample application provides a simple implementation of an open professional network that demonstrates how to use **inter-canister calls** within a project.

Expand Down Expand Up @@ -34,7 +34,7 @@ Before building the sample application, verify the following:
npm install
```

4. Open the `dfx.json` file in a text editor and verify the `dfx` setting has same the version number as the `dfx` executable you have installed.
4. Open the `dfx.json` file in a text editor and verify the `dfx` setting has same the version number as the `dfx` executable you have installed.

5. Start the replica.

Expand All @@ -60,7 +60,7 @@ Before building the sample application, verify the following:
dfx canister install --all
```

9. Copy the canister identifier for the `linkedup_assets` canister.
9. Copy the canister identifier for the `linkedup_assets` canister (you can use `dfx canister id linkedup_assets`).

10. Open the `linkedup_assets` canister frontend in your web browser.

Expand Down
6 changes: 0 additions & 6 deletions dfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,7 @@
},
"defaults": {
"build": {
"output": "canisters",
"packtool": ""
},
"start": {
"address": "127.0.0.1",
"port": 8000,
"serve_root": "canisters/linkedup_assets/assets"
}
},
"networks": {
Expand Down
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const CopyPlugin = require('copy-webpack-plugin');
const path = require("path");
const TerserPlugin = require("terser-webpack-plugin");
const dfxJson = require("./dfx.json");
Expand Down Expand Up @@ -28,10 +27,8 @@ function generateWebpackConfigForCanister(name, info) {
return;
}

const outputRoot = path.join(__dirname, dfxJson.defaults.build.output, name);
const inputRoot = __dirname;
const entry = path.join(inputRoot, info.frontend.entrypoint);
const assets = info.frontend.assets;

return {
mode: "production",
Expand Down

0 comments on commit 17fbfbd

Please sign in to comment.