fix: ignore index.html and provide a sample file instead
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -28,6 +28,8 @@
|
||||
|
||||
dump.rdb
|
||||
|
||||
index.html
|
||||
|
||||
# Ignore compiled assets
|
||||
/public/assets
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ Standard Notes is a simple and private notes app available on most platforms, in
|
||||

|
||||
|
||||
<div align="center">
|
||||
|
||||
|
||||
[](https://github.com/standardnotes/desktop/releases)
|
||||
[](https://github.com/standardnotes/web/blob/master/LICENSE)
|
||||
[](https://standardnotes.org/slack)
|
||||
@@ -70,7 +70,8 @@ This repo contains the core code used in the web app, as well as the Electron-ba
|
||||
|
||||
1. Clone the repo
|
||||
2. `npm install`
|
||||
3. `npm start`
|
||||
3. `cp index.html.sample index.html`
|
||||
4. `npm start`
|
||||
|
||||
Then open your browser to `http://localhost:3000`.
|
||||
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
<!-- <!DOCTYPE html> -->
|
||||
<!--
|
||||
This file is strictly used for local development using the webpack-dev-server.
|
||||
-->
|
||||
<!DOCTYPE html>
|
||||
<html ng-app="app">
|
||||
|
||||
<head>
|
||||
@@ -22,7 +25,7 @@
|
||||
<meta ng-bind="title" content="Standard Notes" name="apple-mobile-web-app-title" />
|
||||
<meta ng-bind="title" content="Standard Notes" name="application-name" />
|
||||
|
||||
<title>Notes · Standard Notes</title>
|
||||
<title>Dev · Notes · Standard Notes</title>
|
||||
|
||||
<script>
|
||||
window._default_sf_server = "https://sync.standardnotes.org";
|
||||
@@ -30,8 +33,8 @@
|
||||
window._batch_manager_location = "public/extensions/batch-manager/dist/index.min.html";
|
||||
</script>
|
||||
|
||||
<script src="dist/javascripts/app.js"></script>
|
||||
<link rel="stylesheet" media="all" href="dist/stylesheets/app.css" debug="false" />
|
||||
<script src="javascripts/app.js"></script>
|
||||
<link rel="stylesheet" media="all" href="stylesheets/app.css" debug="false" />
|
||||
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user