fix: ignore index.html and provide a sample file instead

This commit is contained in:
Baptiste Grob
2020-07-22 12:09:13 +02:00
parent 1631aee113
commit 5eff00545e
3 changed files with 12 additions and 6 deletions

2
.gitignore vendored
View File

@@ -28,6 +28,8 @@
dump.rdb
index.html
# Ignore compiled assets
/public/assets

View File

@@ -6,7 +6,7 @@ Standard Notes is a simple and private notes app available on most platforms, in
![](https://standardnotes.org/assets/homepage-hero.png)
<div align="center">
[![latest release version](https://img.shields.io/github/v/release/standardnotes/desktop)](https://github.com/standardnotes/desktop/releases)
[![License](https://img.shields.io/github/license/standardnotes/web?color=blue)](https://github.com/standardnotes/web/blob/master/LICENSE)
[![Slack](https://img.shields.io/badge/slack-standardnotes-CC2B5E.svg?style=flat&logo=slack)](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`.

View File

@@ -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>