update README and TODO
This commit is contained in:
@@ -114,14 +114,9 @@ in your `PATH`. Then run `go generate` to regenerate the CSS file before you run
|
||||
|
||||
## Installing Amsterdam
|
||||
|
||||
You will need a MySQL database to store Amsterdam data. Create a new empty database, then, from the command line, use the command:
|
||||
You will need a MySQL database to store Amsterdam data. Create a new empty database.
|
||||
|
||||
> `mysql -u root -p _databasename_ \< setup/mysql-database.sql`
|
||||
|
||||
(Replace _databasename_ with the name of your database. If you use a user other than `root` for administrative access to your
|
||||
MySQL server, use that.)
|
||||
|
||||
Ensure a user in your database is granted SELECT, INSERT, UPDATE, and DELETE privileges to all tables in your new database.
|
||||
Ensure a user in your database is granted all privileges to all tables in your new database.
|
||||
This is the user that you will configure Amsterdam to use.
|
||||
|
||||
The database may be specified to Amsterdam with the following command line options or environment variables:
|
||||
@@ -133,6 +128,8 @@ The database may be specified to Amsterdam with the following command line optio
|
||||
|
||||
All these options may also be specified via the configuration file (see below).
|
||||
|
||||
The first time you execute Amsterdam, the necessary database tables will be created and populated.
|
||||
|
||||
Amsterdam also requires access to a local SMTP server, as it sends out E-mail messages such as account verification,
|
||||
password reminders, subscribed posts, and messages from conference or community hosts. It may be specified to Amsterdam
|
||||
with the following command line options or environment variables:
|
||||
|
||||
@@ -14,9 +14,9 @@ After the point where it reaches feature parity with Venice circa 2006.
|
||||
|
||||
## Immediate Cleanups Required
|
||||
|
||||
* A better way to set up the database than `setup/database.sql`. Bring the table setup into the application somehow.
|
||||
The [migrate](https://github.com/golang-migrate/migrate) library might be of use here.
|
||||
* Database format migrations.
|
||||
* <s>A better way to set up the database than `setup/database.sql`. Bring the table setup into the application somehow.
|
||||
The [migrate](https://github.com/golang-migrate/migrate) library might be of use here.</s>
|
||||
* ~~Database format migrations.~~
|
||||
* Allow use of Postgres as a database.
|
||||
* Dockerization.
|
||||
* Implement proper help and online documentation.
|
||||
|
||||
Reference in New Issue
Block a user