notepad

Check-in [ce0efa1827]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Update install instructions
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:ce0efa182764f42d3a9e225a6f1aaa1e7e5ae79b53fa65a4090198d3677378e7
User & Date: vandys 2018-10-12 13:10:03
Context
2018-10-12
13:18
Logout clears anyway check-in: b030eeea6c user: vandys tags: master, trunk
13:10
Update install instructions check-in: ce0efa1827 user: vandys tags: master, trunk
13:01
Need to ref "value" field of input element. check-in: 10d20b52c3 user: vandys tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to README.txt.

1
2

3
4
5




6
7
8
9
10
11
12
13
14
15
16






HTML5 Notepad App
by Kaspars Dambis

http://konstruktors.com

<!-- Could Pad HTML5 App by Kaspars Dambis / http://konstruktors.com/cloud-notepad-html5 -->





Installation
============

1. Upload files to your server
2. Rename 'entries' folder to something random and harder to guess
3. Make that folder writable (CHMOD 0777)
4. Edit sync.php and specify your new DATA_DIR (the one you just renamed)
5. In sync.php change username and password to something unique
6. Done!








|
>
|

<
>
>
>
>




|
|
|
|
|
|

>
>
>
>
>
>
1
2
3
4
5

6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
HTML5 Notepad App
Originally by Kaspars Dambis

    http://konstruktors.com/cloud-notepad-html5


Converted by Andy Valencia:
    ES6 (no jquery)
    Python CGI
    Sqlite3 storage

Installation
============

- Check out from Fossil
- Pick DB name in config.py, something not easy to guess
- Build DB:
    - sqlite3 var/DBNAME < mkdb.sql
    - sqlite3 var/DBNAME 'insert into accounts values ("ACCT", "PW")'
      (add as many accounts as you with)

- Make var and var/DBNAME writable
    - chmod a+rwx var
    - chmod a=rw var/DBNAME

- Make sure your web server will run Python CGI from the installed
    directory.